afshin.m Posted May 30, 2010 Share Posted May 30, 2010 Hello all friends, i use : php_value auto_append_file "afshin.php" in my .htaccess file but i want to exclude afshin.php from some files .... for example from john.php How can i do it? Quote Link to comment https://forums.phpfreaks.com/topic/203371-auto_prepend_file-and-exclude-from-some-files/ Share on other sites More sharing options...
pornophobic Posted June 2, 2010 Share Posted June 2, 2010 On the top of john.php you could try something like this: if (ini_get(auto_prepend_file)) { ini_set(auto_prepend_file, ''); } //The same would be user for append, just auto_append_file instead. Quote Link to comment https://forums.phpfreaks.com/topic/203371-auto_prepend_file-and-exclude-from-some-files/#findComment-1066743 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.