Hello, I have the below script that uploads a file via PHP. I know you can't directly add a progress bar with PHP, but is there a way to at least have it say 'uploading' after the user clicks 'upload file'...but before it actually copies?

Code:
<html>
<title>Welcome to DadsSendsIt!</title>
</html>
<?php



$action = $_POST["action"];
$max_size = "67108864"; // Max size in BYTES (1MB)
$rand_folder = str_rand(15, 'alphanum');

echo "
<b>Use the below Uploader to upload the file. Uploads can take a few minutes for large files. Once uploaded, you will be shown the link to the file. From there, you may copy and paste it into an email to send.</b></br></br>
<b>Uploader</b><br>
<form action='upload with random.php' method=post  enctype='multipart/form-data'>
File (max size: $max_size bytes/".($max_size/1024)." kb):<br>


<input type='file' name='filename'><br>
<input type='hidden' name='action' value='upload'>
<input type='submit' value='Upload File'>
</form>";



if ($action == 'upload')
{
	
	if ($_FILES["filename"]["size"] > $max_size) die ("<b>File too big!  Try again...</b>");
echo "DA";
	mkdir("./uploads/".$rand_folder);
	copy($_FILES["filename"]["tmp_name"],"./uploads/".$rand_folder."/".$_FILES["filename"]["name"]) or die("<b>Unknown error!</b>");
	echo "<b>File Uploaded. </b>"; // for debug -->  $filename --> ".$destination."/".$filename_name."</h2>";
	echo "http://www.dadsftp.com/uploads/".$rand_folder."/".$filename_name."</br>";
$urlvar = "http://www.dadsftp.com/uploads/".$rand_folder."/".$filename_name;

echo "<a href=\"$urlvar\">Right Click here and Copy Shortcut</a>";

}
	
?>
I tried placing it where it says "echo "DA";" but it doesn't echo it until after the file is uploaded.