Skepsis Posted February 6, 2009 Share Posted February 6, 2009 Hi, first off, I didn't see an introduction forum, so I wasn't able to post an intro post. I'm wanting to make a script that allows me to tell the users, what page the other user is visiting. The thing is, I don't want them to see, http://www.website.com/members.php When I use REQUEST_URI It outputts: ./dev/online.php?act=guests. Which would be eaiser to use, REQUEST_URI, or HTTP_REFERER? I want them see: Viewing page >> Members What exactly would I have to do to take off the file extension? Also how would I remove the website address, so i can output what I want for them? Thanks in advance, Matt Link to comment https://forums.phpfreaks.com/topic/144079-help-with-http_referer/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.