Hi,
Tuesday, April 20, 2004, 7:41:18 AM, you wrote:
LL> Hello
LL> Is there a build-in function to move files in php ?
LL> or sholud i just open file A and copy it content to file B , then del file
LL> A.
LL> Thanks for help.
rename() may do what you want
--
regards,
Tom
--
PHP General Mail
Hello
Is there a build-in function to move files in php ?
or sholud i just open file A and copy it content to file B , then del file
A.
Thanks for help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
None that I know of. You need to use copy & unlink
Tim Stoop wrote:
>Marek Kilimajer wrote:
>
>
>
>>rename can "move" the file only on the same partition, it is realy just
>>_rename_, not full _move_
>>
>>
>
>So there is no full-features move in PHP?
>
>
>
--
PHP General Mailing List
Latex Master wrote:
> Hello Tim,
> Tim why don't you try shell_exec ?
As a last resort, I might, but I'd rather do it in PHP... Code-portability,
y'know :)
--
Kind regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Marek Kilimajer wrote:
> rename can "move" the file only on the same partition, it is realy just
> _rename_, not full _move_
So there is no full-features move in PHP?
--
Kind regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rename can "move" the file only on the same partition, it is realy just
_rename_, not full _move_
Marek
Tim Stoop wrote:
>Hi people,
>
>I want to move a file from one location to another. I expect I can only do
>this with 'rename', because there's no 'move'-command (at least nog in the
>
Hello Tim,
Tim why don't you try shell_exec ?
Thursday, July 4, 2002, 5:03:34 PM, you wrote:
TS> Hi people,
TS> I want to move a file from one location to another. I expect I can only do
TS> this with 'rename', because there's no 'move'-command (at least nog in the
TS> manual). Following situ
Hi people,
I want to move a file from one location to another. I expect I can only do
this with 'rename', because there's no 'move'-command (at least nog in the
manual). Following situation:
original file: /var/www/html/webfotos/tmp/thumb_phpibmGBF.jpg
with /var/www/html/webfotos being a symli
8 matches
Mail list logo