Hi all , I have created a directory through mkdir("./abc",0777);
But when I want to copy a file in it it says permission denied!!!
What is the wight permission code for "abc" directory.. It's urgent !!
Tabish
you sure the directory 'abc' was created? if you don't have permission to write to the current directory, then 'abc' won't be created in the first place.
do some error-checking:
if(!mkdir("./abc", 0777)){
}