I'm using PHP function which deletes a directory and it's contents. If the directory is successfully deleted, a header("Location:.......") is called, and if it is not successfully deleted, a slightly different header("Location:....") is called.
This is working absolutely fine in Firefox, Safari & Chrome on a Mac and Firefox on a PC, but not on Internet Explorer.
IE is deleting the file and it's directory, it just isn't doing the header bit at the end (both are being ignored - it just seems to do nothing!). Both header() functions re-display the page that the user pressed the 'delete' button on - they are either presented with a fresh file upload mechanism or a message saying that the delete didn't work.
I would be most grateful if anyone could help me solve this - I've been trying to figure it out for hours and it's getting very urgent.