Re: Question on File Move / Delete and Create Directory
| From: | Justin French | Date: | Wed, 31 Jul 2002 10:54:08 +0000 |
| Subject: | Re: Question on File Move / Delete and Create Directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110496@lists.php.net to get a copy of this message | ||
on 31/07/02 8:39 PM, Jack (nedcor4@nedcor.com.hk) wrote:
> Dear all
> I had setup a web server in windows NT 4.0 (IIS Server), there is some
> question i want to ask bask on the file management!
>
> 1. Is there any function in php that can create a folder/Directory in a
> specific path?
*sigh* Did you look in the manual first?
I searched for dir and got a list of directory functions, including mkdir(),
which, makes a dir.
http://www.php.net/manual/en/function.mkdir.php
Funnily enough, it's part of the FILE SYSTEM FUNCTIONS in the manual.
> 2. Is there any function in php that can move particular files to other
> location?
Not sure about moving, but there is copy() and unlink() [deletes a file],
also found in the manual's filesystem chapter.
Please at least try to find the answer before posting.
Justin