[eluser]Gukkie[/eluser]
Hi, i have a small problem here creating directories.
Im on my localhost, and i cant seem to get this code working to create a directory:
$curdate = date('dmy');
$make_directory = base_url().'uploads/'.$curdate;
mkdir($make_directory, 0755);
however when i change it to this, it works:
$curdate = date('dmy');
$make_directory = $_SERVER['DOCUMENT_ROOT'].'site1/uploads/'.$curdate;
mkdir($make_directory, 0755);
Any ideas on whats goin on?