eshban
06-08-2005, 11:41 AM
Hi,
I am making a directory by using a builtin PHP function "mkdir".
i am using this code:
mkdir("txt");
But how can i check that, is this directory is already created or not.If this directory is already created then it just shows a message "directory already created", and otherwise it will create this directory.
Kindly help me that how can i write this code.
I am making a directory by using a builtin PHP function "mkdir".
i am using this code:
mkdir("txt");
But how can i check that, is this directory is already created or not.If this directory is already created then it just shows a message "directory already created", and otherwise it will create this directory.
Kindly help me that how can i write this code.