creating directories help
Posted: Thu Aug 12, 2010 4:48 pm
I am trying to create a no of directories but the code is giving the following error
Warning: mkdir() [function.mkdir]: Invalid argument in C:\xampp\htdocs\gl\movie_process.php on line 174
the code is
please help anyone?
Warning: mkdir() [function.mkdir]: Invalid argument in C:\xampp\htdocs\gl\movie_process.php on line 174
the code is
Code: Select all
for(i=0; i=5 i++)
{
$base_folder = "{$base}uploads/movies/{$year}/{$month}/{$title}/";
$path = $base_folder.$hosting[$i];
mkdir($path);
}