[Cialug] php $_SERVER['HTTP_REFERER'] and https requests

David Champion dchampion at visionary.com
Tue Aug 14 11:30:01 CDT 2007


Dumb question... I'm checking the $_SERVER['HTTP_REFERER'] in a php
page, but if the href comes from a https page, the referrer is empty.
Checked the apache access_log shows a "-" where the referrer would be.

Is there a way to get the referrer or ip address from a https request,
or am I sunk?

-dc



More information about the Cialug mailing list