Re: Can we use one PHP.INI directive to set the other?

From: Date: Fri, 30 May 2003 12:48:47 +0000
Subject: Re: Can we use one PHP.INI directive to set the other?
Groups: php.general 
Request: Send a blank email to php-general+get-149550@lists.php.net to get a copy of this message
Thanks. I too thought so, but still wanted to find out if there is a way out. Regards, Ananth. >>> "Catalin Trifu" <catalin@isp-software.de> 5/30/2003 12:39:44 AM >>> Hi, Simply put: it doesn't work; you have to put it by hand there, or use the ini_set function in all PHP scripts you need. Cheers, Catalin "Ananth Kesari" <hyanantha@novell.com> wrote in message news:sed5dd36.065@prv-mail25.provo.novell.com... > Hi, > > Can we use one PHP.INI directive to set the other? > > What I mean is like this: > > Let's say I have: > upload_tmp_dir = sys:/php/temp > in the PHP.INI file. > > Now I want to set the same value into the open_basedir directive like: > open_basedir = ".;sys:/php/temp" > > Here, I do not want to hard code "sys:/ptp/temp", but I want this > to be read off from the upload_tmp_dir directive of PHP.INI file. > Something to this effect: > open_basedir = ".;$upload_tmp_dir" > > The above doesn't work. > > Can something like this be done and if yes, how? > > Thanks, > Ananth. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#149550) next »