I have a php script I am modifying to upload images... a portion of it pushes a success message if all the qualifications are satisfied. On success the following scripts diverts to a new page...
// make a note of the location of the success page
$uploadSuccess = 'http://'
. $_SERVER['HTTP_HOST'] . $directory_self . 'upload.success.php';
header('Location: ' . $uploadSuccess);
I want to push a message to an alert box or something on the same page instead of going to a new one. How can I do this?