From: "Dhaval Desai" <[EMAIL PROTECTED]>
> Hi!
>
>
> Well I would like to move a file from one directoy to
> another using php and a web browser.
> I could just find a function to move an uploaded file
> but not a normal file which is allready there in some
> directory.
<?php
system("mv dir1/oldname.html dir2/newname.html");
?>
>
>
> Is there any way I can move a file from one directory
> to another and also is tehre any way I can delete a
> particluar file in a directory..
>
>
<?php
system("rm badfile.html");
?>
Easy :-)
--
PHP General 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]