Created
March 17, 2014 13:30
-
-
Save canoedf/9599232 to your computer and use it in GitHub Desktop.
Returning_from_calling_post_to_url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# . . . do some work then | |
# clear the screen with a little javascript | |
echo "<script type='text/javascript'>\n"; | |
echo "document.body.innerHTML = ''"; | |
echo "</script>"; | |
# back to the initial screen which will refresh with a little javascript | |
echo "<script type='text/javascript'>\n"; | |
echo "window.location.href = 'http://FQDN/ex8.php'"; | |
echo "</script>"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment