Jump to content

Recommended Posts

Posted

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.

Posted

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?

Posted

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?

Posted

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.

Posted

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

Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...