Files:
Are PHP files, I'm viewing them in FF 3.0.11
The file name is index.php
Here's the path to the parent folder:
http://localhost/knowink/mao/
This should show me the index.php page, I get a directory listing instead.
http://localhost/knowink/mao/index.php
This is the path to the index page, it should definately show me the index page...I get the source code instead. This is a direct copy and paste from my browser window, not from the source code listing - if you had clicked Command-U in FF.
I'm hoping not to come off arrogant here but I do this for a living, I build Mac apps and web based apps for a publishing company, in PHP using MySQL for a back end, heavy on AJAX and CSS, just started tinkering with HTML 5 (the geolocation stuff). I'm also pretty confident that this is probably user error (me
):
<html>
<head>
<title>MAO 2009 Design 2</title>
<script languag="javascript" src="js/mao.js"></script>
<link rel="stylesheet" type="text/css" href="css/mao.css">
</head>
<body>
<div id="header"><img src="images/maologo.png" border="0" class="logo" width="300"><img src="images/headergraphics.png" class="headerleft"></div>
<div id="nav">
<div id="navlinks">
<ul>
<li><a href="javascript:void(0);" onmousedown="showsubnav('mojobox');">Mojos</a></li>
<li><a href="javascript:void(0);" onmousedown="showsubnav('mojos');">Spotlights</a></li>
<li><a href="javascript:void(0);" onmousedown="showsubnav('mojos');">Destinations</a></li>
<li><a href="javascript:void(0);" onmousedown="showsubnav('mojos');">The Campsite</a></li>
</ul>
</div>
<div id="mojobox" style="display: none;" id="navbox">
<ul>
<li class="navbox_li">Ride</li>
<li class="navbox_li">Camp</li>
<li class="navbox_li">Hike</li>
<li class="navbox_li">Snow</li>
<li class="navbox_li">Water</li>
</ul>
</div>
</div>
<div id="content">
<img src="images/1109/mao_1109_b_001.png">
</div>
</body>
</html>