I am making an upload script for an image gallery, all fine so far and working correctly. The uploading works similar to this forum where you click a button to upload the image and then the previous page recognises that the image has been uploaded and the button status changes to 'Uploaded Image' or whatever.
How do i pass the status back to the main window?