From:             [EMAIL PROTECTED]
Operating system: FreeBSD
PHP version:      4.0.6
PHP Bug Type:     Directory function related
Bug description:  chdir() removes the last slash in parameter

I call:

$str = "images/"; chdir($str);

And chdir() removes the last slash from $str. I expected, as common sence
says, that it will left $str unchanged.

Anyway, you can look at it in real conditions at
http://nepto.sk/test2.php

I hope this will help. Not me, but you.
-- 
Edit bug report at: http://bugs.php.net/?id=14159&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to