If I understand what you are trying to say you are thinking way too hard. You want to look at a file on your hard drive with your browser? Just go to your browser-->File-->Open-->Locate the file (I guess index.php)-->Click Open. Or if you want to feel cool go to the the url bar and type file://(and the path such as this for the Apache's default page in Mac OS 10.0.4 file://localhost/PowerBook%20G3%20OS%20X/Library/Webserver/index.en) PowerBook G3 OS X is my hard drive so replace this with your hard drive name and %20= (a space). Is this what you wanted?
Apple PowerBook G4 Titanium 1GHz, 1GB, 60GB, SuperDrive, Airport, Mac OS X, and 15GB iPod
Debug Computer Services http://www.click2debug.com