Howdy...
I have a small popup window open from Flash that has a form for uploading file... PHP script works fine... I see the file being copied from the given directory...
Now, for error checking, I am trying to show an error message that say 'Please select the JPEG file from the list' for 5 seconds and reload that popup window so that the user can select the file again...
I'm using this to check the file type and it works...
$temptype = $HTTP_POST_FILES['uploadedFile']['type'];
if ($temptype == "image/pjpeg"){ // do upload here // }
else { // error message and refreshing html file here // }
The easiest would be opening URL in PHP, but I cannot find the command for it... 🙁
Any pointer for this please???
TIA
Jason