hey frnds i have wamp5 s/w . and dreamwear after writing a code i dont know how to run programme to show the output .
plz help me i m mew in php
Six answers:
harvest
2010-09-08 00:40:20 UTC
Hi there! I have WAMP as well!
Here's what you do when you've created a file in Dreamweaver. Save the PHP file, then move it to C:\WAMP\www (or find WAMP in any directory).
Then, visit http://localhost/NAMEOFFILE.php
You must run under localhost to execute PHP.
http://localhost/ is relative to the \www\ directory. Here a few examples:
Normal: C:\WAMP\www\hi.php
Localhost: localhost/hi.php
Normal: C:\WAMP\www\hello\hi.php
Localhost: localhost/hello/hi.php
Hope that helped you!
carrie
2016-06-01 12:00:02 UTC
you would need to put the php file in the web folder. Its probably something like www that the folder is called. Then open your web browser and you can run it locally by typing localhost/myphpfile.php or wherever you put the php file.
BobberKnob
2010-09-08 01:25:32 UTC
save your .php files to the htdocs directory in your wamp folder. Remember that PHP is server-side and must run on a server. It won't run without a server unless you have a third party compiler installed....which you probably shouldn't mess with right now.
Anyway, make sure you have your apache server running.
Narasimhan. .
2010-09-08 00:25:46 UTC
Install Xampp , once the installation is over go the programfile / xampp / htdocs /..
create a new folder (for eg helloworld ) and u can write ur own PHP code
to execute
(Make sure ur Apache server is running)
http://localhost/helloworld/
and ur PHP file list will be displayed..
u can run ur site
2010-09-08 05:59:03 UTC
I have posted a lot of opensource materials which is available on net inorder to study php,javascript you can just get it and also i have posted programs don't forgot to check it out
http://novicetoprogramming.blogspot.com/
Steel Abs
2010-09-08 00:28:11 UTC
Is your local server working? Have you set up a testing server for your site in DW? Sites>>>manage sites>>>in the left corner choose Testing server. If you don't set a testing server, you won't be able to test your websites...
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.