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@xxxxxxxxxxxxxx -- Thank you, Ray Hunter