TheMovieman Posted March 18, 2009 Posted March 18, 2009 I know I was able to do this before, but now I cannot open a php on my local computer (using IE), I get a pop-up saying: "Do you want to open or save this file?" Now, it will open in Firefox fine, just not IE. Quote
TCH-Bruce Posted March 18, 2009 Posted March 18, 2009 I'm confused. Do you have apache and php running on your machine? Or are you saying you can't access php files over the internet with IE but can with Firefox? Quote
TheMovieman Posted March 18, 2009 Author Posted March 18, 2009 I can't open it on my computer (locally). The thing is, before I had been able to open php files from my hard drive into IE but now it won't but it will in Firefox. I only need to just so I can preview the page before publishing it. Not a huge deal as I can just make the file an .html extension and work through that. Is there any reason that a web page can't be html? Quote
TCH-Bruce Posted March 18, 2009 Posted March 18, 2009 Hmm, I wouldn't think Firefox would display a php file locally either without a web server and php running on the local computer. Neither should be able to do it unless you have some extension in Firefox that is allowing it. Quote
OJB Posted March 18, 2009 Posted March 18, 2009 to view a php file locally (on all browsers) you need an apache installation with php as bruce said. if you are new to apache/php/mysql then i recommend XAMPP as it is a complete installation all in one http://www.apachefriends.org/en/xampp.html Once this is installed you need to run apache as a service through XAMPP and then you will be able to preview your files by putting your file.php in your htdocs under your XAMPP installation directory then navigating to them via http://localhost/file.php Quote
TheMovieman Posted March 20, 2009 Author Posted March 20, 2009 Hmm, I wouldn't think Firefox would display a php file locally either without a web server and php running on the local computer. Neither should be able to do it unless you have some extension in Firefox that is allowing it. That might be it. I've been using Firefox of late when updating some of my pages, there aren't that many as all my reviews are stored in a database. Quote
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.