adspace


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

Write a program using while loop?

1115


How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain

1076


how to detect a mobile device using php

1172


What is the current stable version of php? What advance thing in php7?

1093


How to calculate the difference between two dates using php?

1142


What is the current stable version of php?

1122


What is trait in php?

1065


List some features of php that are deprecated in php7?

1020


hello all, I need some sample placement papers in lion bridge.. can anyone help me?

2174


Explain me is it possible to destroy a cookie?

1025


if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer

1987


What sized websites have you worked on in the past?

1084


Name and explain five of the PHP error constants?

1032


Tell me what kind of things have you done on the social side?

1063


How to create a web form?

1108