Re: rename failes if file name contains single quotes

From: Date: Fri, 31 Jan 2003 09:09:27 +0000
Subject: Re: rename failes if file name contains single quotes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-133749@lists.php.net to get a copy of this message
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. */

« previous php.general (#133749) next »