By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,521 Members | 1,492 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,521 IT Pros & Developers. It's quick & easy.

Back function

P: n/a
how to create back url that will by inteligent, I mean ll go back independet
from with page you came?

thanx in advance
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.514 / Virus Database: 312 - Release Date: 2003-08-28
Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Thu, 4 Sep 2003 15:11:42 +0200, "Carramba" <ca******@bootre.com>
wrote:
how to create back url that will by inteligent, I mean ll go back independet
from with page you came?

thanx in advance


you could use client side scripting like javascript.

<a href="javascript:history.back()">back to where you came from</a>

with php you could check for the refering page, but not all browsers
supply this information.
<a href="<?= $_SERVER['HTTP_REFERER'] ?>">back</a>

B.
Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.