How To Make A Directory In With Php Create Directories Scripts Code
how to make a directory in with php create directories scripts code
how, to, make, a, directory, in, with, php, create, directories, scripts, code
How To Make A Directory In With Php Create Directories Scripts Code
Post Description: how to make a directory in with php create directories scripts code
POST# 476
Posted On: Fri Feb 29, 2008 12:01 pm
jack
Topic: How To Make A Directory In With Php Create Directories Scripts Code
do you know how to create a directory using php.

i have this script and i want to be able to create a directory with my code

thanks


Fri Feb 29, 2008 2:26 pm
1
hostman
Reply #1065
if you want to create a directory you can use the mkdir() function available in php


Description
bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context ]]] )

Attempts to create the directory specified by pathname.



PHP EXAMPLE
<?php
mkdir("/path/to/my/dir", 0700);
?>


for more information visit:

http://www.php.net/function.mkdir

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload