Posted by rf on 06/01/07 06:42
"Cris" <badweather.FBI@gmail.com> wrote in message
news:1180671618.887826.108490@o11g2000prd.googlegroups.com...
> OK, I do this call on a linux system:
>
> if(!file_exists("../pages/".$_POST['ParentName']."/"))
> {
> $dirname = "/home/u2/sss/sss/html/pages/".$_POST['ParentName']."";
> mkdir($dirname, $mode);
>
> }
>
> and get this:
>
> Warning: mkdir() [function.mkdir]: File exists in /home/u2/mypage.php
> on line 19
>
> When it clearly doesn't exist! I looked!
Do ../pages/ and /home/u2/sss/sss/html/pages/ resolve to exactly the same
place?
--
Richard.
[Back to original message]
|