Just Stripping Referrer Domain and Not Referring URL

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
prophit
Forum Newbie
Posts: 1
Joined: Tue Jan 16, 2007 10:18 pm

Just Stripping Referrer Domain and Not Referring URL

Post by prophit »

I am trying to just strip the referrer domain (anything before "/") and to set it as a variable. Currently I just know how to strip the full referring url but stuck on just stripping what comes before the "/" Any help is appreciated.
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

Post Reply