Page 1 of 1

php_value auto_prepend_file

Posted: Sun Jan 14, 2007 6:49 pm
by tecktalkcm0391
I have this in public_html folder's .htaccess

Code: Select all

php_value auto_prepend_file '/home/blueridg/protected_html/header.php'
php_value auto_append_file '/home/blueridg/protected_html/footer.php'
I want to cancel it in the public_html/admin folder, so I put this in the .htaccess:

Code: Select all

php_value auto_prepend_file NULL
php_value auto_append_file NULL
But I get this on every page:

Code: Select all

Warning: Unknown(NULL): failed to open stream: No such file or directory in Unknown on line 0

Warning: Unknown(NULL): failed to open stream: No such file or directory in Unknown on line 0

Warning: (null)(): Failed opening 'NULL' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
Can anyone help?

Posted: Sun Jan 14, 2007 7:29 pm
by feyd
Tried an empty string?

Posted: Sun Jan 14, 2007 8:24 pm
by tecktalkcm0391
No, I did now, and that didn't work, and then i tried looking for an answer again on php.net and I found it...
auto_append_file string ......
The special value none disables auto-appending.