How about:
copy("path1","path2");
unlink("path1");
On Thu, 13 Sep 2001 16:07:14 -0400
"Jon Mormino" <[EMAIL PROTECTED]> wrote:
> Does anyone have a solution for the following problem.
>
> I use dbwired.com for hosting (great service). They do not, however,
> for obviously reasons allow the system() command from a php script.
>
> So, when I switched to this server I had to switch from a system("mv
> file1 file2"); command to a move_uploaded_file("path1","path2"); command
> which is fine...for uploading. But, once a file is uploaded I can't
> figure out a way to move or delete it as it is no longer considered an
> "uploaded file" and hence move_uploaded_file() fails. Does anyone know
> a way around this?
>
> Thanks.
>
> -Jon Mormino
>
-=-=-
Sean Swehla, MCP
Network Architect
VPN Solutions, LLC
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]