> 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.
These are probably you are looking for.
http://www.php.net/manual/en/ref.dir.php
(working with directory)
http://www.php.net/manual/en/ref.filesystem.php
(copy(), unlink() etc)
You might want to use sysetm() or like with care.
(Note: I'm not recommending to use system() to move
or delete files. Use of system() could make security hole easily)
http://www.php.net/manual/en/ref.exec.php
(system(), exec(),etc)
Regards,
--
Yasuo Ohgaki
>
>
> 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..
>
>
>
>
> Thank You!
> Cheers!~
> Dhaval Desai
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> --
> 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]
>
>
--
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]