Created
May 22, 2012 16:54
-
-
Save apphp-snippets/2770224 to your computer and use it in GitHub Desktop.
You may create a back button like your browser has. The following script allows the visitor to press a button and returns the him to the previous page.
This file contains hidden or 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
| <form> | |
| /* Source: http://www.apphp.com/index.php?snippet=php-get-remote-ip-address */ | |
| <input type="button" value="Previous Page" onclick="history.go(-1)"> | |
| </form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment