01-08-2008, 02:34 PM
|
#6 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
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)
|
|
|
|