what is the code to go back to the previus page you where on
Back Code
Collapse
X
-
Guest
only works in web not XHTML MP since it doesn't support javascript, it could work on some phones though.
Code:[url="java script: history.go(-1)"]Back[/url]
-
dont use java.
in wml use this:
<do type="prev" label="Back"><prev/></do>[/b]
or try this:
<?php
$back = "$_SERVER['HTTP_REFERER']";
?>
'HTTP_REFERER'
The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
Comment
Comment