Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2001041

[PHP-DEV] Bug #10318: pathinfo causes network error From: bmccarty <email protected>
Date: 04/13/01

From: bmccarty <email protected>
Operating system: RH Linux 6.2
PHP version: 4.0.4pl1
PHP Bug Type: Scripting Engine problem
Bug description: pathinfo causes network error

Calling pathinfo() on a path that lacks a file extension causes PHP to screw up:

$info = pathinfo("/home/bill/bin/script");

The similar invocation works fine:

$info = pathinfo("/home/bill/bin/script.php");

-- 
Edit Bug report at: http://bugs.php.net/?id=10318&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>