View Single Post
Old 01-08-2008, 02:34 PM   #6 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

first off, unless you configure apache differently, nothing but .php files will be passed to the php interperter, hence y its just farting it back to browser without running php.

i know this might sound daft, but you have remembered to clear you cache and are making sure that you have .php appended to the filename, because to me it sounds like php isnt getting it, it could also be an apache problem, but because you havnt configured it yourself, i find it unlikely.

if you want to pass a .html file to php and make apache treat it as a php file, add following to your httpd.conf or in a .htaccess:

Code:
 AddType application/x-httpd-php .html
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote