I’ve always been able to preview my site in my browser and now all of a sudden my computer is asking me what program I would like to open my index file with. what did I change / do wrong? It is a php file with a slideshow. My other pages preview OK - just the one with the slide show is causing me trouble.
You can’t view a php file with a browser. A php file means it contains
code that the server has to execute, like a computer program, to
create the html file that the server will then send to the browser. To
view php stuff on a Mac, you need to install the MAMP environment
( google for it), then view your php file from within there. In
freeway you will “upload” to a “Fille Copy”, which is one of the menu
choices in the upload window, to a directory that you can point MAMP
to. Kinda cumbersome, but it works.
LLE
On Aug 23, 2010, at 10:10 AM, carebat wrote:
I’ve always been able to preview my site in my browser and now all of
a sudden my computer is asking me what program I would like to open my
index file with. what did I change / do wrong? It is a php file with
a slideshow. My other pages preview OK - just the one with the slide
show is causing me trouble.
LLE -
I just wanted to write and thank you for replying to me with this great info. I can’t tell you how much I appreciate you taking the time to answer this question for such a newbie. Your info helped me figure out that because of my shopping cart (PHP) my file had switched my index file to .php instead of .html. I know this seems very simple but, I had no idea that the file could just auto change and I was very confused. So, even though I didn’t end up doing the steps you suggested - just you writing and trying to help solved all my problems! Thank you, thank you, thank you!