To edit the page, the password is go
Begin blog about how bayesian technique can be used for creating summary


"It costs more, but it is worth it." By implication, things that cost more are worth more, and by negation, things that have no price also have no value. This is an appeal to reject the entire natural world out of hand. http://www.arachnoid.com/lutusp/consumerangst.html


 
From: "R. Rajesh Jeba Anbiah" <ng4rrjanb...@rediffmail.com>
Newsgroups: comp.lang.php
Subject: Re: getting the previous url
Date: 14 Jan 2005 10:00:49 -0800
Organization: http://groups.google.com
Lines: 18
Message-ID: <1105725649.084268.40230@z14g2000cwz.googlegroups.com>
References: <651c6ea9.0501131859.21c507c@posting.google.com>
NNTP-Posting-Host: 210.18.190.192
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1105725653 384 127.0.0.1 (14 Jan 2005 18:00:53 GMT)
X-Complaints-To: groups-ab...@google.com
NNTP-Posting-Date: Fri, 14 Jan 2005 18:00:53 +0000 (UTC)
In-Reply-To: <651c6ea9.0501131859.21c507c@posting.google.com>
User-Agent: G2/0.2
Complaints-To: groups-ab...@google.com
Injection-Info: z14g2000cwz.googlegroups.com; posting-host=210.18.190.192;
   posting-account=HtUwqw0AAADJ_r3674iE9OOYebG4sSgk

mr_burns wrote:
> Is it possible to get the previous url. For example, if I am on page
> page01.php - and I then click to - page02.php - from page02.php, can
> use script to determine that I have come from page01.php? It doesnt
> have to be the entire url, even just the file name. Cheers

Add this line in the beginning of every script or possibly using a
global-common include file say config.php

output_add_rewrite_var('referer',
htmlspecialchars($_SERVER['PHP_SELF']));
 

 
 - || Delhi  || Bangalore || My remarks
Public Transport | Good bus service, metro train available in some areas | Poor bus service | |
Autorickshaw | OK | OK | The autorickshaw drivers are equally bad at both the places.  The drivers tamper the  meters at both the places

 

Page last modified on January 20, 2008, at 10:47 AM