Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the current salary package in India for a PHP programmer who has 1.5 years experience

2991


What is a php array?

1010


Explain what are psrs?

951


How to read the entire file into a single string?

995


Which function would you use to replace a record in a database in php?

1030


Explain what is the difference between for and foreach?

1043


How many different types of messages available in php?

1000


What is the use of anonymous function in php?

978


What is the php function that removes the first element of the array and returns it?

970


What are the different types of php variables?

1055


What is a controller in programming?

1059


What is the main function of php?

1140


What is the best practice for running mysql queries in php? Consider the risk of sql injection.

1063


Why php is sometimes called as embedded scripting language?

950


How to select a database?

1017