LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2009, 01:29 PM   #1
mlapl1
LQ Newbie
 
Registered: Jun 2007
Posts: 16

Rep: Reputation: 0
.htaccess question


Dear All

I have a .htaccess file which uses {HTTP_REFERER}.

Is there some way that I can check the value returned by {HTTP_REFERER}?

I am experiencing some problems with referrers.

Thanks a lot
Andrew

Last edited by mlapl1; 06-05-2009 at 01:30 PM. Reason: checking on email notification
 
Old 06-05-2009, 02:54 PM   #2
CSIG
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Rep: Reputation: 1
In a PHP script you would use
echo $_SERVER['HTTP_REFERER']
to print out the referrer, something similar should be available in other scripting environments as well. Also have a look at http://www.electrictoolbox.com/php-h...erer-variable/ if doing PHP work.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.htaccess question Seventh Linux - Security 1 07-22-2006 11:31 PM
.htaccess question kidestranged Linux - Software 0 03-08-2005 11:57 AM
.htaccess Question tommytomato Linux - Security 2 06-14-2004 11:37 AM
.htaccess question djthewombat Linux - General 1 10-21-2002 08:24 AM
htaccess question Legolas Linux - Security 0 08-24-2001 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration