View Full Version : Local PHP files open as HTML in IE6.
Cool-August
03-03-2006, 02:28 PM
I probably put this in the wrong catagory, but this doesn't have to do with coding.
When ever I try to open PHP files located on my computer, IE6 opens it as if though it where HTML. The file extention is php.
How can I get it to open as a PHP file?
Thanks, August.
karinne
03-03-2006, 02:31 PM
You need to put your php file on a server that supports php ... you can't run php off of you computer... unless your computer is a server running php
that could've been confusing http://www.karinne.net/smilies/misc/nut.gif :D
http://www.wampserver.com
This is a quick painless installation that should let you run PHP scripts off your 127.0.0.1 / localhost
Just place all your scripts in the siteroot and run them from there ;)
nox-Hand
03-03-2006, 06:42 PM
Oh! That sounds nice!
http://www.easyphp.org/?lang=en
easyphp is also another wamp application ;)
Horus_Kol
03-04-2006, 06:50 AM
technical questions do not belong in the Lounge - we do need somewhere to relax :)
PHP code must run through an interpreter/parser before it is actually run and generates the HTML - those two WAMP solutions are great for beginners who just want to get the code running on their own PC.
However, I recommend installing PHP and MySQL for yourself at some point - learn how the work...
Cool-August
03-08-2006, 08:20 PM
Sorry, this was acctauly a stupid question, obvieusly I can't, after all thats why it's called "SERVER Side Scripting". *Duhhh.*
But thanks for the for the links anyhow. :)
vBulletin® v3.6.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.