So I needed to have a statement that closed out a page when success condition was met. Here is a quick snippet that worked like a charm for me.

echo “<script type=”text/javascript”>”.
This is great is you are passing a bytearray data, for instance, with POST and need to close out that pesky window.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.