Gossamer Forum
Home : Products : DBMan : Customization :

$ENV{'HTTP_REFERER'}

Quote Reply
$ENV{'HTTP_REFERER'}
Im using the $ENV{'HTTP_REFERER'} tag within my script and need to find the way to strip down the urls by using reg expressions.

I want to change:

"http://www.yahoo.com/asd/2332ee2/e2e2e2e/23e23e2/23e23e/23e23e23e/23e/23e//23e etc"

to simply

"www.yahoo.com"



Thanks!!
Subject Author Views Date
Thread $ENV{'HTTP_REFERER'} eric74 1960 May 8, 2002, 9:59 AM
Thread Re: [eric74] $ENV{'HTTP_REFERER'}
Paul 1873 May 8, 2002, 12:42 PM
Post Re: [Paul] $ENV{'HTTP_REFERER'}
eric74 1869 May 10, 2002, 6:00 AM