Categories > TinyButStrong general >

going back

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Mario Miele
Date: 2003-10-09
Time: 11:34

going back

Hi,
Excuse me for the question not directly concerning TBS, I hope someone can help me.
Is there a way to have in PHP the HTML page you are coming from (what you get in javascript by using document.referrer)?

By: Skrol29
Date: 2003-10-09
Time: 11:52

Re: going back

$_SERVER['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.
--------

More info:
http://www.php.net/manual/en/reserved.variables.php

Enjoy:)
By: Mario Miele
Date: 2003-10-09
Time: 20:20

Re: going back

thanks.

I've made an example of a different way to display by page using TBS (maybe more comfortable when you have a lot of page to display).
May I send it to you? Where?

By: Skrol29
Date: 2003-10-09
Time: 21:22

Re: going back

Yes please : skrol29@freesurf.fr

They are lot of thinks to say about the ByPage mode :)