142 comments found

How can i rename an uploaded file to prevent an overwrite.

QuanticaLabs

You can replace line 13 in upload.php file:

$targetFile =  $targetPath . stripslashes($_FILES["Filedata"]["name"]);

with below code:
$pathinfo = pathinfo($_FILES['Filedata']['name']);
$fileExt = $pathinfo["extension"];
$fileName = stripslashes($pathinfo["filename"]) . time();
$targetFile =  $targetPath . $fileName . "." . $fileExt;

Hi. Can be used in mobile?

QuanticaLabs

Hi,
It’s using flash, so the mobile needs to support flash, so uploader can work on it.

by
by
by
by
by
by