Is there any way at all in which i could find the extension of an uploaded file and add it to the end of the NEW file name as i dont want duplicating file names.
Thanks for any help.
Its ok i found out how. Well i used:
$str = explode(".",$_POST['testupload']); $ext = end($str);