[PHP] Moving a file with 'rename'?

2002-07-04 Thread Tim Stoop
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

Re: [PHP] Moving a file with 'rename'?

2002-07-04 Thread Latex Master
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

Re: [PHP] Moving a file with 'rename'?

2002-07-04 Thread Marek Kilimajer
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

Re: [PHP] Moving a file with 'rename'?

2002-07-04 Thread Tim Stoop
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

Re: [PHP] Moving a file with 'rename'?

2002-07-04 Thread Tim Stoop
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

Re: [PHP] Moving a file with 'rename'?

2002-07-04 Thread Marek Kilimajer
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