A PHP file includes PHP code, functions, text HTML tags and scripts that can process online forms, get the date and time, or access information from a database, such as MySQL database
A PHP file includes PHP code, functions, text HTML tags and scripts that can process online forms, get the date and time, or access information from a database, such as MySQL databaseA PHP file includes PHP code, functions, text HTML tags and scripts that can process online forms, get the date and time, or access information from a database, such as MySQL database. A PHP file returns to the browser as a plain HTML page and may have an extension of .php. The earlier version used the .php3 or .phtml extension.
2. What You Will Need?
Before going ahead in the next step, first you will have to install all the necessary software required for developing and testing the script. So, first install and configure your system from the following software:
http://httpd.apache.org/docs/2.0/en/install.html for Apache http server;
www.wampserver.com/en/ for WAMP server;
http://www.sawmac.com/mamp/ for MAMP server;
The installation of LAMP server depends upon the Linux Distro. For instance
download and install LAMP server for Ubuntu from
http://www.ubuntugeek.com/ubuntu-710-gutsy-gibbon-lamp-server-setup.html
You can also test your PHP script on web server which you have hosted, but it is very panic and needs FTP or telnet in every time you want to change something.