Re: dir("/") fails in VIRTUAL_DIR mode
| From: | Andi Gutmans | Date: | Sat, 10 Jun 2000 15:17:45 +0000 |
| Subject: | Re: dir("/") fails in VIRTUAL_DIR mode | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20912@lists.php.net to get a copy of this message | ||
Just commited a fix.
Please test it.
Thanks.
Andi
At 04:56 PM 6/10/00 +0200, thies@digicol.de wrote:
On Sat, Jun 10, 2000 at 05:46:46PM +0300, Andi Gutmans wrote: Do you have a reproducing script? Including platform?--- Andi Gutmans <andi@zend.com> http://www.zend.com/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:--- Andi Gutmans <andi@zend.com> http://www.zend.com/ --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...tcThies 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