FSGr33n Posted November 10, 2006 Share Posted November 10, 2006 I am doing a little serve to server via REST. my clients are sending requests to my server through cURL, fopen, or fsocketopen. If they do not send headers $_SERVER['HTTP_REFERER'] is empty. Is there another way to obtain the url they are sending from? Many of my clients are on shared hosting so I'd prefer to use the url rather then the ip.Cheers Link to comment https://forums.phpfreaks.com/topic/26809-referer-problem/ Share on other sites More sharing options...
trq Posted November 10, 2006 Share Posted November 10, 2006 [quote]Is there another way to obtain the url they are sending from?[/quote]No. If the client chooses not to send the referer your stuck. Link to comment https://forums.phpfreaks.com/topic/26809-referer-problem/#findComment-122598 Share on other sites More sharing options...
FSGr33n Posted November 10, 2006 Author Share Posted November 10, 2006 I figured as much, thank you for the speedy reply Link to comment https://forums.phpfreaks.com/topic/26809-referer-problem/#findComment-122603 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.