Thursday, April 26, 2012

Install Appserv for Php and Mysql Webserver with testing

at this post i will explain about installing Appserv on windows.
Appserv is web server include Php 5 , Mysql and Phpmyadmin.

After you download the setup.
1. Run setup
2. Click Next
3. Click i Agree
4. Input Destination Folder, default is in drive C:\appserv. if you want your data save at other drive ( in drive D or E ) you may change to d:\appserv . usually i change to drive D for safety if the my windows need to re install. so your data safe.
Click Next
5. Check all components. Click next
6. Apache Configuration fill the server name localhost , administrator email address admin@localhost.com (or your email , but not affects ) , Port 80 .
the important things at this step is server name and port. if you input server name localhost then you can access your webserver at browser input //localhost/ , if you change to myserver then to access it input //myserver/.
by default port is 80 you can access your webserver with standart address ( //localhost/ ).
if you change the port to other port eg : Port 1200 . then you access your webserver with port //localhost:1200/
the port may change if you have two webserver or the port already use with another program or service like IIS windows  server.
Click Next
7.  MySql Configuration . input your root password and check enable innoDB.
By Default MYSQL user is root (lower case) you can access Mysql DB with user root and your password.
Click next.
8.Install  Progress will run and after that . Check all for start apache and mysql. then Finish
your webserver is ready to try and test.

you can check with your Browser and type //localhost the you can see page Appserv home

to go phpmyadmin click phpmyadmin or type /localhost/phpmyadmin and input your password with username root

for upload your php files you can put your files at c:/appserv/www/
you can create folder at www folder

to try you can try create hello world php
<?php


echo "Hello World ";
?>
save it with name hello.php
then put at c:/appserv/www/

then access at browser type  /localhost/hello.php

Tadaa Hello world

Wednesday, April 25, 2012

Php Introduction 1

started from zero we learn PHP. i want to share what i know and what i learn too that i am previously newbie too.
What is PHP
PHP = Hypertext Preprocessor . PHP is open source and free to install and use. PHP used to web server that so single website can online and usually PHP makes Web dynamic.

For try and learn you will need install PHP 5 and mysql for database
some developer provides one package like :



Today Action is we says "Hello world :)"


after install appserv or xampp

create new php files
and write
<?php

echo "hello world :)";

?>


To start php always write
<?php
and ending with
?>

you can write php at html where ever you wants
eg :
<?php
echo "hello too ";
?>
<table>
<tr>
<td>
<?php
echo "hello";
?>

</td>
</tr>
</table>


continue to next tutorial

Saturday, April 21, 2012

Introduction, Started the tutorial

Hello all, introduce my name is hoqguy, and i want to share my tutorial for people starts from dont knows anything or called newbie.
the newbie mean not same as stu*id and not same as mo*on , but i regards newbie in here is whos wants to learns from zero or wants learn anything from empty bottle and wants to step by step to fill it , after the bottle full, then get another empty bottle and fill it again, thats i called newbie.
sorry for my english language if get little confused you can contact me by email

at my blogs i will post my tutorial like :
Photoshop tutorial
Php tutorial
VB  tutorial
dreamweaver tutorial
after effect tutorial
vegas tutorial
3dmax tutorial
internet tutorial
SEO tutorial

and some news and article that goods for you all
enjoy my blogs and maybe helps you to learn
Warm regards hoqguy  : )