GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   C Programming Question (https://gfy.com/showthread.php?t=185652)

JDog 10-13-2003 04:39 PM

C Programming Question
 
How do you get a referrer infomation in a c program? I know the getenv("REMOTE_ADDR") will get IP address and others to get other Environment Varibles, but how do I get the HTTP_REFER variable?

Thanks,

jDoG

JSA Matt 10-13-2003 04:42 PM

getenv("HTTP_REFERER")

JDog 10-13-2003 04:47 PM

Quote:

Originally posted by JSA Matt
getenv("HTTP_REFERER")
That's what I thought too, but it doesn't work...LOL

jDoG

JSA Matt 10-13-2003 04:49 PM

Did you make sure there actually IS an http_referer header? I'm not sure then...

JDog 10-13-2003 04:52 PM

Is there away I could pull all the Environment Varialbes?

jDoG

JDog 10-13-2003 05:01 PM

Hmm, maybe I should get a Web Programming with C book. A little rusty on this language! :1orglaugh

jDoG


All times are GMT -7. The time now is 10:20 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123