Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM: Full Referrer URL PHP

date posted 12th May 2008 17:54

im sure it does, i doubt there are many hosts offering PHP3 tho?

could be wrong tho!

Kind regards=20


Brendan Oliver


-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] Behalf Of Richard
Cook
Sent: 12 May 2008 19:23
To: Brendan Oliver
Subject: Re: FN-FORUM: Full Referrer URL PHP



Depends on the php release I WOULD IMAGINE?

----- Original Message -----=20
From: "Brendan Oliver" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Monday, May 12, 2008 7:08 PM
Subject: RE: FN-FORUM: Full Referrer URL PHP




$REMOTE_ADDR

$HTTP_REFERER

$REQUEST_URI

$HTTP_HOST

$HTTP_USER_AGENT


arent these deprecated now?

as someone said before the referrer cannot be relied upon and can be=20
modified

$_SERVER['REMOTE_ADDR'];
$_SERVER['HTTP_REFERER'];
$_SERVER['REQUEST_URI'];
$_SERVER['HTTP_HOST'];
$_SERVER['HTTP_USER_AGENT'];

http://uk3.php.net/manual/en/reserved.variables.server.php for more info



Kind regards


Brendan Oliver



-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] Behalf Of Richard
Cook
Sent: 12 May 2008 18:53
To: Brendan Oliver
Subject: Re: FN-FORUM: Full Referrer URL PHP




$REMOTE_ADDR

$HTTP_REFERER

$REQUEST_URI

$HTTP_HOST

$HTTP_USER_AGENT

Are what i use for stats and feed back i use these on an emailer script =
that
send me info when a user hits a page on my site ie:-


$time =3D date('l dS \of F Y h:i:s A');

$mail->Body =3D '
Referer Address : '.$HTTP_REFERER.'
Remote Address : '.$REMOTE_ADDR.'
Request URL Address : '.$HTTP_HOST.$REQUEST_URI.'
HTTP Host : '.$HTTP_HOST.'
HTTP User Agent : '.$HTTP_USER_AGENT.'
Time : '.$time.'';


Like the last email not sure what u need it for but this may be some use =
to
you?


Rick
www.cookra.co.uk





----- Original Message -----=20
From: "Darren Yates" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Monday, May 12, 2008 6:28 PM
Subject: Re: FN-FORUM: Full Referrer URL PHP


>
> >What do you want to achieve by knowing the referrer URL?
>
> The referring site :)
> The keywords really.
>
> Darren
>
>
> Anthony Cartmell wrote:
>>
>>> Question how do I get it?
>>
>> You can't, reliably.
>>
>>> I've tried HTTP_REFERER which gives me the
>>> domain and the first variable value combination
>>> but nothing else and I've tried
>>> QUERY_STRING which just doesn't work and gives
>>> me nothing??
>>
>> HTTP_REFERER is the variable that some browsers will send with
>> information about the previous site visited. But internet security =
and
>> privacy software often blocks or spoofs that header, so it's most
>> unrealiable.
>>
>> QUERY_STRING will contain all the stuff after any question mark in =
the
>> URL, and only for the current page request, not the previous one.
>>
>> What do you want to achieve by knowing the referrer URL?
>>
>> Cheers!
>>
>> Anthony
>
> --=20
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>
--=20
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.

To advertise here: http://www.freelancers.net/advertising.html


--=20
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.

To advertise here: http://www.freelancers.net/advertising.html


--=20
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.

To advertise here: http://www.freelancers.net/advertising.html



Messages by Day
May 31st 2008
May 30th 2008
May 29th 2008
May 28th 2008
May 27th 2008
May 26th 2008
May 25th 2008
May 24th 2008
May 23rd 2008
May 22nd 2008
May 21st 2008
May 20th 2008
May 19th 2008
May 18th 2008
May 17th 2008
May 16th 2008
May 15th 2008
May 14th 2008
May 13th 2008
May 12th 2008
May 11th 2008
May 10th 2008
May 9th 2008
May 8th 2008
May 7th 2008
May 6th 2008
May 5th 2008
May 4th 2008
May 3rd 2008
May 2nd 2008
May 1st 2008


Messages by Month
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000