I've got an image-upload page working on my site which if successful prints the message:
"Your photo was successfully uploaded!"
On the same page I have a form. What I'd like, is for the script to submit the form, instead of printing the message.
So instead of this:
if (file_exists("$abpath/$img1_name")) {
$log .= "Your photo was successfully uploaded!<br>";
}
I'd like this:
if (file_exists("$abpath/$img1_name")) {
<submit.myform>;
}
Is there a browser friendly way to submit a form in this situation?
Thanks as always for any and all help!
Peter