On Friday 31 January 2003 16:52, ヘーン トーマス wrote:
> when i try to rename a file with single quote(s) in the
> file name, e.g.
>
> rename("/tmp/foo 'n bar", "/tmp/foobar");
>
> rename fails with "there is no such file".
> whats wrong?

You probably need to escape certain characters such as space and the single 
quote.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
I never said all Democrats were saloonkeepers; what I said was all
saloonkeepers were Democrats.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Reply via email to