Jump to content

Archived

This topic is now archived and is closed to further replies.

acidglitter

offline

Recommended Posts

You know how you can view pages on your computer in your internet browser? HTML pages look fine but PHP codes don't work. Is there a program/browser that could make the php codes work even though the page isn't online?

Share this post


Link to post
Share on other sites
You need to setup a webserver with php enabled on your local pc. [a href=\"http://httpd.apache.org\" target=\"_blank\"]apache[/a] is a great choice.

Share this post


Link to post
Share on other sites
Yes you need a webserver envrioment to be setup in order for your php scripts to work. PHP is server-side and is parsed by the server. Whereas HTML is client-side and is parsed by the web browser. Thats why you can run HTML scripts on your PC but not PHP scripts!

All you need is a webserver which thorpe has suggested and copy of PHP! [a href=\"http://www.php.net/manual/en/install.windows.apache2.php\" target=\"_blank\"]Windows installation instructions[/a]

Additonally you can install a pre-packaged version of Apache, PHP and MySQL + a few other little bits and pieces by installing WAMP5

Share this post


Link to post
Share on other sites
try this prepackaged version....
[a href=\"http://www.easyphp.org/\" target=\"_blank\"]http://www.easyphp.org/[/a]
that works great for me. all you do is download the installer and it does all the work! :)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.