CodingForums.com
>
:: Server side development
>
PHP
> If Directory Exist
PDA
View Full Version :
If Directory Exist
Dalziel
05-01-2003, 04:07 PM
Is there a way with PHP to check if a directory exists and if not create it?
Ökii
05-01-2003, 04:52 PM
if(!is_dir($ref)) { mkdir($ref,0777);}
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.