hey i changed the code abit to
<?php
$rand=rand(0000000000,9999999999);
$time=time();
$secure_folder = "upimg/$rand/$time";
mkdir("http://multi-search.org/BSGN/$secure_folder", 0777);
echo "secure folder made successfully... not done yet so dont close this window...";
$target = "$secure_folder";
$target = $target . basename( $_FILES['uploaded']['name']) ;
$ok=1;
if ($uploaded_size > 1500000)
{
echo "Your file is too large.<br>";
$ok=0;
}
if ($ok==0)
{
echo "sorry your file was not uploaded...";
}
else
{if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target))
{echo "the file ". basename( $_FILES['uploadedfile']['name']). "hasbeen uploaded the link to your file is http://multi-search.org/BSGN/$secure_folder/". basename( $_FILES['uploaded']['name'])."<br />";
}
else
{echo "sorry, there was a problem uploading your file.";
}
}
?>
but its still not working,,, can u c y its not working?