Re: opendir() with ftp:// wrapper without trailing slash causes php to
| From: | Hannes Magnusson | Date: | Sat, 14 Aug 2004 13:32:31 +0000 |
| Subject: | Re: opendir() with ftp:// wrapper without trailing slash causes php to | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12166@lists.php.net to get a copy of this message | ||
If anyone is intrested.. http://bugs.php.net/29678
On Sat, 14 Aug 2004 14:51:12 +0200
bjori@jeshus.com (Hannes Magnusson) wrote:
> <?php
> $url = 'ftp://anonymous:anonymous@ftp.no.freebsd.org';5
> –:w†&¤â“Ðöã´o
> $dir = opendir ( $url );
> var_dump ( $dir );
> ?>
> Causes php to crash. However. If I add trailing slash to $url it works as expected.
>
> Running PHP5.0.0 btw.
>
> - Hannes