Re: impossible to delete file after 'parse_ini_file'

From: Date: Fri, 08 Mar 2002 00:51:18 +0000
Subject: Re: impossible to delete file after 'parse_ini_file'
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-87719@lists.php.net to get a copy of this message
In article <20020307160701.93745.qmail@pb1.pair.com>, gregory.collette@free.fr says... > php script : > > <?php > $ini_array = parse_ini_file("conf/conf.php"); > echo($ini_array[var1]); > ?> > > content of conf/conf.php : > > [data] > var1 = xxx > > > After execution of the php script, it is impossible to delete the conf.php > file. > > Any idea ? > > greg If you are running on a Unix type system, the user that your scripts run as may not have apropriate file/directory permissions to delete the file. -- David Robley Temporary Kiwi! Quod subigo farinam

« previous php.general (#87719) next »