Hi all,, im completely new to PHP, started learning just 2 days before. Can anybody tell me how to run a PHP file to see the program's output? i have created some simple program in Dreamweaver CS3 but don't know how to run it...
Answer / jogesh sharma
hi,
it such nice thing that you are learning PHP,
following thing you have must to run your program,
1) in simple way you have to install WAMP(Windows, Apache,
Mysql, PHP) in your windows based system, if you are using
linux then install LAMP.
2) after complete the installation on your system you to run
the WAMP,
3) create the PHP file and save it to your default location
directory(c:/wamp/www/filename.php)
4) after that open your browser, and type http://localhost
and press enter, or you can directly type the file name like
(http://localhost/filename.php)
5) you have to must aware that where and how you save your
file, if you cared a directory the you have to type the URL
on you browser (http://localhost/directory name/filename.php)
and you will get the output,,,
for more help for php,,
download the books on http://www.ebookshare.net
thanks and regards
=================
Jogesh Sharma
| Is This Answer Correct ? | 4 Yes | 0 No |
Is nan in javascript?
Does session expire on closing browser?
Does exist in php?
How to use http headers inside php?
What is the use of array_count_values() in php?
What is meant by an associative array?
How to write the form tag correctly for uploading files?
How to connect SMTP server in php. I want to edit that in mantiss bug tracking tool. If anyone worked on mantiss software or in php, please give answer . I need to modify that in mantiss software.
Which php mvc framework is best?
How to get complete current page url in php?
What is an associative array?
What is the difference between exception::getmessage and exception::getline?