View Single Post
  #13  
Old June 19th, 2005, 10:04 PM
TommyWillB's Avatar
TommyWillB TommyWillB is offline
Registered User
 
Join Date: Mar 2001
Location: ol' Gay San Francisco
Posts: 2,020
Thanks: 0
Thanked 0 Times in 0 Posts
TommyWillB is on a distinguished road
First of all, browsers don't "execute" php... ever. the Apache web server and PHP engine work together to do that.

By accessing the file directly from the filesystem you are skipping Apache... thus no execution and rendering. Yes there are tricks to execute the code, but why %^#$%^ bother?

Why not just make your life 10,000% easier and run it through Apache via http://localhost/ or http://127.0.0.1/ ?
__________________
TommyWillB
Intel iMac "early 2006" core duo
TommyWillB.com hosted on Mac OS X 10.5.x / Apache 2.2.x / PHP 5.x
Reply With Quote