"# File-Upload-in-PHP"
print_r($_FILES);
echo "
";
if($_FILES['upload_file']['size']>0 && $_FILES['upload_file']['error']==0)
{
$status = move_uploaded_file($_FILES['upload_file']['tmp_name'],"upload/"."testing_upload".$_FILES['upload_file']['name']);
echo $status;
if($status==1)
{
echo "File has been uploaded successfully";
}
}
else
{
echo "File is not uploaded";
}
Youtube Tutorial : https://youtu.be/RDnBPxPz1X8
Donate to Paypal : [email protected]
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KHM59LRPNV3YY&source=url