Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C1911475D12 for ; Fri, 8 Nov 2002 00:57:17 -0500 (EST) Received: from virt3s.webintellects.com (virt3s.webintellects.com [216.98.153.73]) by postgresql.org (Postfix) with ESMTP id 224A1475A71 for ; Fri, 8 Nov 2002 00:57:17 -0500 (EST) Received: from pclnxrhunter (ew-fw-out.digitalglobe.com [205.166.175.2]) (authenticated (0 bits)) by virt3s.webintellects.com (8.11.6/8.11.6) with ESMTP id gA864Jx10927; Thu, 7 Nov 2002 22:04:19 -0800 Subject: Re: Last URL From: Ray Hunter To: Steven Lee Cc: pgsql-php@postgresql.org In-Reply-To: <000401c286eb$026eaf40$0301060a@nnz01> References: <00c901c285b4$37c57490$5340baca@gis> <000401c286eb$026eaf40$0301060a@nnz01> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 07 Nov 2002 22:57:05 +0000 Message-Id: <1036709826.17787.15.camel@pclnxrhunter.digitalglobe.com> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/34 X-Sequence-Number: 1616 Steven, You can use the $_SERVER['HTTP_REFERER'] to check...however, this is not very reliable. Cause is suggested regarding the validity of the value of this variable. Here is the link: http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server On Fri, 2002-11-08 at 05:52, Steven Lee wrote: > Dear all: > > I try to write a logging page which can know how the users find my site. > if by search engine or some banner switch, they must from another site > (yahoo,xxx.com etc.) > I try to find it in $HTTP_SERVER_VARS[], seems no, I am not sure. > Is ther any Possible way that I can know what is the last URL before the > user get into my site? > > > Thank you > > Steven > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org -- Thank you, Ray Hunter