|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-05-29 13:17 UTC] iliaa@php.net
[2003-05-29 13:24 UTC] jason at rpdesign dot com
[2003-05-29 14:50 UTC] wez@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 30 03:00:01 2025 UTC |
include_once will not include the file that the browser has requested. even if it has not been executed yet (from withith the auto_prepend_file.) I am using mod_php with apache 2. In my .htaccess file I have: php_value auto_prepend_file prep.php in prep.php I have: ... # Get the name of the file requested from the browser $mainfile = ereg_replace('.*/', '', $_SERVER['SCRIPT_FILENAME']); include_once($mainfile); This now does nothing. With php 4.2.1 on your x86 RedHat box this works fine.