Skip to content

Instantly share code, notes, and snippets.

@canoedf
Created March 17, 2014 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save canoedf/9599232 to your computer and use it in GitHub Desktop.
Save canoedf/9599232 to your computer and use it in GitHub Desktop.
Returning_from_calling_post_to_url
<?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