Re: mkdir no such file or directory [message #181388 is a reply to message #181387] |
Wed, 15 May 2013 03:06 |
Bhushan N.N
Messages: 7 Registered: May 2013
Karma:
|
Junior Member |
|
|
Here is my code again
$filelocation = "/uploads/" . "/" . time();
if (mkdir($filelocation,0777,true))
{
echo("Thank you for uploading the file.");
}
else
{
echo("Oops error uploading file.");
}
On Tuesday, 14 May 2013 21:04:27 UTC-6, Bhushan N.N wrote:
> I want to create a directory using mkdir. But I get "No such file or directory" error.
>
>
>
> Below is the code I am using.
>
>
>
> $filelocation = "/uploads/" . "/" . time();
>
>
>
> Can some one please tell me what I am doing wrong?
>
>
>
> I also tried manually creating the uploads folder. Still the same error. Any help will be much appreciated.
|
|
|