Re: [Fwd: Problem in renaming file]
| From: | Hrishi | Date: | Fri, 02 Mar 2001 10:20:57 +0000 |
| Subject: | Re: [Fwd: Problem in renaming file] | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42322@lists.php.net to get a copy of this message | ||
Hrishi wrote:
> 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';
>>> $fcopy = 'd:/pict/copy/test1';
>>> if (rename($sourcepath,$ftppath))
>>> {
>>> echo "pass 1\n";
>>> }
>>> ?>
whoa there.
what is sourcepath? what is ftppath? what do the variables forig and fcopy
do ?
was a bit hasty in answering that :)
--
--
Yeah, there are more important things in life
than money, but they won't go out with you if
you don't have any.