> -----Original Message-----
> From: Dhaval Desai [mailto:[EMAIL PROTECTED]]
> Sent: 28 February 2001 05:51
> To: [EMAIL PROTECTED]
> Subject: Move a file from dir to another or delete file..?
> 
> 
> 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.
> 

I haven't tried it but would rename work?, i.e. rename("old_path/file.txt",
"new_path/file.txt")

> 
> 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..

unlink();

> 
> 
> 
> 
> Thank You!
> Cheers!~
> Dhaval Desai
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/

        Tim Ward
        Senior Systems Engineer

Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html

-- 
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]

Reply via email to