RE: [PHP] stupid question (Back Function)
| From: | Sean Malloy | Date: | Mon, 13 Jan 2003 09:30:10 +0000 |
| Subject: | RE: [PHP] stupid question (Back Function) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131404@lists.php.net to get a copy of this message | ||
You could grab the referring page and send the user back to it, but some
proxies/software stop your browser from sending that information, so it
might not work in all situations
<a href="<?php echo $_SERVER['HTTP_REFERER']; ?">Back</a>
however, quoting the docs on using the referrer:
This is set by the user agent (client browser). 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.
-----Original Message-----
From: Remon Redika [mailto:reymond@unri.ac.id]
Sent: Monday, 13 January 2003 8:33 PM
To: php-general@lists.php.net
Subject: [PHP] stupid question (Back Function)
hi everyone,
It's Possible We used Php Scripting to Back the client Browser
Like This Below :
(ussualy I make it with java script) :
"javascript:history.back(1)"
but right now, i need using the 'header's function', functionaly to back
the page to previouse page.
sorry before :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php