On Thursday 05 December 2002 00:33, Franco Pozzer wrote: > Thanks for all. > > My end it is Apache 1.3.27 and PHP 4.3.2 in Win32 system NT 4.0. > > I have the php.ini auto_prepend_file like this: > auto_prepend_file="C:\OPENFEDRA\Apache\htdocs\fedra\sv\cfg\" > > All work fine with this configuration of the php.ini. > > For same reason I must to do not configure php.ini and the directives > auto_prepend_file must be null like auto_prepend_file =.
Why could you not configure your php.ini? Other places where you can set auto_prepend_file is in httpd.conf or in a .htaccess file. > I have discovered ini_alter function but I do not be able to work in my > application. > > My script it is like: > <? > $path="C:\\OPENFEDRA\\Apache\\htdocs\\fedra\\sv\\cfg\\"; > > echo"<br>$path<br>"; > > if(ini_alter('auto_prepend_file', $path.'systemVariables.php')) You can't set the auto_prepend_file value at runtime -- auto_prepend has (should have) already taken place by the time your script is run! -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Collapsed Backbone */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php