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...



Hi all,, im completely new to PHP, started learning just 2 days before. Can anybody tell me how to r..

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

Post New Answer

More PHP Interview Questions

Extract url from this string? It should be flexible for all strings, not for this string only. "yahoo.comyahoo.co.inhotmail.org"

1 Answers   A1 Technology,


What is delimiter php?

0 Answers  


Explain about the $_GET variable of PHP?

0 Answers  


How to add 301 redirects in PHP?

0 Answers  


How to delete cookie files on your computer?

0 Answers  






How do you execute a php script from the command line?

0 Answers  


What is $_ get and $_ post in php?

0 Answers  


What the use of var_dump()?

0 Answers  


How to execute an sql query? How to fetch its result?

0 Answers  


what will do ceil() and floor() in PHP?

5 Answers  


What is strcmp?

0 Answers  


For image work which library is used in php?

0 Answers  


Categories