Re: dir("/") fails in VIRTUAL_DIR mode

From: Date: Sat, 10 Jun 2000 14:56:30 +0000
Subject: Re: dir("/") fails in VIRTUAL_DIR mode
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-20902@lists.php.net to get a copy of this message
On Sat, Jun 10, 2000 at 05:46:46PM +0300, Andi Gutmans wrote: > Do you have a reproducing script? Including platform? linux latest CVS: <? $d = dir("/"); ?> gets you: X-Powered-By: PHP/4.0.1-dev Content-type: text/html <br> <b>Warning</b>: OpenDir: No such file or directory (errno 2) in <b>dir.php</b> on line <b>2</b><br> > > Andi > > At 04:45 PM 6/10/00 +0200, thies@digicol.de wrote: > > > somehow "/" becomes "" in virtual_file_ex(). i'm not really > > into this code at all - sascha, andi i'm sure it's a "klacks" > > for you... > > > > tc > > --- > Andi Gutmans <andi@zend.com> > http://www.zend.com/ -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#20902) next »