Re: [Fwd: Problem in renaming file]
| From: | Hrishi | Date: | Fri, 02 Mar 2001 10:13:30 +0000 |
| Subject: | Re: [Fwd: Problem in renaming file] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42321@lists.php.net to get a copy of this message | ||
Sebastian Bergmann wrote:
> Carrie KL Tam wrote:
>> Hi Sebastian,
>>
>> Don't understand why the following code keep telling me the error "Rename
>> failed (Invalid argument)":
>> <?php
>> $forig = 'd:/pict/orig/YI3 ?a.3WOHF';
way i see it, ? and * (among others) are special chars in wind0ze
cheers,
hrishi
>> $fcopy = 'd:/pict/copy/test1';
>> if (rename($sourcepath,$ftppath))
>> {
>> echo "pass 1\n";
>> }
>> ?>
>>
>> Pls advise
>>
>> Cheers,
>> Carrie Tam
>> carrietam@scmp.com
>
--
--
Yeah, there are more important things in life
than money, but they won't go out with you if
you don't have any.