From: webmaster at geog dot cam dot ac dot uk Operating system: Linux PHP version: 4.3.2 PHP Bug Type: Feature/Change Request Bug description: Allow auto_append_file using ini_set at PHP_INI_USER level (in user script)
Description: ------------ Feature request: would it be possible to enable auto_append_file to be set at PHP_INI_USER level? At present this can only be done in the server config (inc. .htaccess per-directory) but it would be useful to be able to set this earlier in a script. Clearly auto_prepend_file can't be set in the script for obvious reasons, but I'm not sure why this limitation should exist for appending code to the end of the file. This would enable surrounding a page with a house style simply by including/prepending /path/to/filename.html where filename.html contains the start of the house style and the instruction: <?php ini_set 'auto_append_file', '/path/to/appended.html'); ?> I'm not clear whether Bug #18283 is addressing the same issue. Either way, I think the above would be a valuable addition to what I find to be PHP's greatest feature. -- Edit bug report at http://bugs.php.net/?id=24260&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24260&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24260&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24260&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24260&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24260&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24260&r=support Expected behavior: http://bugs.php.net/fix.php?id=24260&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24260&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24260&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24260&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24260&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24260&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24260&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24260&r=gnused
