954,576 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to run php files?

hi helper,
i've 3 .php and 1 css files downloaded from net.
how could i run these files? Do i need any tool?

thanks
beanboy.

beanboy
Light Poster
44 posts since Aug 2009
Reputation Points: 10
Solved Threads: 1
 

Well if you have uploaded your php files to the web server, then just type the address (example: www.yoursite.com/index.php ) into your browser and the script should run. If however it shows your source code and random html code then it means that your server doesn't have php installed in which case you would need to choose another service company.

cwarn23
Occupation: Genius
Team Colleague
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
 

if You don't Have any Web Host then You may RUN Your php file offline by Creating WAMP Server on Your PC:
Simply Download WAMP Server from Below URL and Install it.
Download Now

after Install open WAMP Folder from Your Installed Directory and Open WWW folder and create a folder with any name. remember this is Your Project Folder Name now Open it and Paste your File in it.

Now open Your Web Browser and type http://localhost/Your_Project_Name/File_Name.php

for example if Your Project Name is abc and your file name is abc.php then use:
http://localhost/abc/abc.php

if u Face any Problem Then Post your Query Here.
Thank You..

hemgoyal_1990
Junior Poster
176 posts since Aug 2007
Reputation Points: 18
Solved Threads: 17
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You