JosiaMFire2 Posted July 31, 2006 Share Posted July 31, 2006 Ok, well I have been learning php for a couple of weeks (about an hour a day) I can do bits n pieces. Recently I made a big mistake of setting php by default to open with ie.. this has come to haunt me. whenever I run an html that uses a php script, it will open the ie download box, and try get me to download ?.php, how can I reset ie, so it will try and run the script in ie instead of trying to download the script.I would apreciate quick response, cheers Josh Quote Link to comment https://forums.phpfreaks.com/topic/16079-windows-php-problem/ Share on other sites More sharing options...
wildteen88 Posted July 31, 2006 Share Posted July 31, 2006 Web browsers, such as IE, FF, Opera etc, cannot parse php code. So theres no point in running php files through a web browser. What you'll want to do is install a server onto you PC. Such as Apache, or if you are on XP Pro/Windows Server OS you'll be able to use IIS. However Apache is better.PHP runs on the server and not the client, which HTML does that why you can run HTML files through a web browser. Once you've installed a server and configured it to parse any PHP files with the PHP Interpretor you can go to http://localhost/filename.php and your PHP scripts will now run. Quote Link to comment https://forums.phpfreaks.com/topic/16079-windows-php-problem/#findComment-66271 Share on other sites More sharing options...
JosiaMFire2 Posted August 1, 2006 Author Share Posted August 1, 2006 right yah, I recently realised that.. I have been using software php designer, thats why I havent really noticed until now. I have also installed apache with it. Thanks heaps for your prompt reply it helped alot. Quote Link to comment https://forums.phpfreaks.com/topic/16079-windows-php-problem/#findComment-66840 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.