Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Getting the URL of a refererby ACJavascript (Acolyte) |
on Dec 23, 2003 at 16:49 UTC ( [id://316652]=perlquestion: print w/replies, xml ) | Need Help?? |
ACJavascript has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I SEEK THE WISDOM OF THE PERL MONKS! hehe Okay I need to know this: Say the referer is http://www.yahoo.com/s=2342&stuff=asdfsd I read the referer using ENV{'HTTP_REFERER'} - NOW How can I split it up so that All I have like is www.yahoo.com? Im pretty sure its going somthing to do with substr but I can't figure it out. Please any help would be most appreciated!
A*C
Back to
Seekers of Perl Wisdom
|
|