Mon Feb 09, 2009 2:25 pm
else {
$n = $_FILES[$name]["name"];
$rndName = md5($n . date("d-m-y") . time()) . "." . findExtension($n);
$uploadPath = "pictures/" . $rndName;
$tempPath = $_FILES[$name]["tmp_name"];
move_uploaded_file($tempPath, $uploadPath);
}
Mon Feb 09, 2009 11:14 pm
$uploadPath = "pictures/" . $rndName;
Tue Feb 10, 2009 7:13 am
msi_333 wrote:you can name the uploaded file by the name you want ,,,
in the
- Code:
$uploadPath = "pictures/" . $rndName;
Â
Wed Feb 11, 2009 12:20 am
$rndName = md5($n . date("d-m-y") . time()) . "." . findExtension($n);
$rndName = "example." . findExtension($n);
Wed Feb 11, 2009 1:32 am
Wed Feb 11, 2009 9:24 am
Wed Feb 11, 2009 9:38 am
$rndName = "example." . findExtension($n);
Thu Feb 12, 2009 10:02 pm
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.