opendir() with ftp:// wrapper without trailing slash causes php to crash

From: Date: Sat, 14 Aug 2004 12:51:12 +0000
Subject: opendir() with ftp:// wrapper without trailing slash causes php to crash
Groups: php.internals 
Request: Send a blank email to internals+get-12162@lists.php.net to get a copy of this message
<?php $url = 'ftp://anonymous:anonymous@ftp.no.freebsd.org'; $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

« previous php.internals (#12162) next »