how to make a directory in with php create directories scripts code

RegisterLogin
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
Tags: how, to, make, a, directory, in, with, php, create, directories, scripts, code
This Post Was Posted On Feb 29, 2008 By jack #1317
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
hostman
#1746 1
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
Feb 29, 2008 Reply Report abuse
©2011 Webune Forums - Wed Dec 21, 2011 2:51 am
Powered by: Webune Forums V3