• Next Maxprog online event is scheduled to go live soon!

    You can attend the event here: live.maxprog.com
    You can already ask questions on the very same page.

    You can also add the event to your calendar by clicking on Add to Calendar
    or click on the YouTube button to subscribe to our channel.

Index.php Issue


New Member
Hi, I downloaded a site and the index is index.php. When I drag this to a browser to view it, it doesn't work. I've been able to work around it by changing the php to .html, but then run into problems when I navigate to another page which is also .php. Is there a way to view this right? Am I doing something wrong?



New Member
When I try it with FireFox a dialogue box appears that asks me what I would like FireFox to open this file with. If I choose "FireFox", then a new tab opens that asks me the same thing...

If I open with Safari, the source files appear.


New Member
That's correct. When I drop the index.php file into the Safari browser I get a straight view of the source files that starts out like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html dir="ltr">

<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">


Am I doing something wrong? Is there a better method to view it?