Index.php Issue

FunOnes

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?

Thanks,
Neal
 

FunOnes

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.
 

FunOnes

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">

<head>
<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?
 
Top