C Programming Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JDog
    Confirmed User
    • Feb 2003
    • 7453

    #1

    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
    NSCash now powering ReelProfits.com
    ALSO FEATURING: NSCash.com :: SoloDollars.com :: ReelProfits.com :: BiminiBucks.com :: VOD
    PROGRAMS COMING SOON: Greedy Bucks :: Vengeance Cash
    NOW OFFERING OVER 60 SITES
    CONTACT :: JAMES SMITH :: CHIEF TECHNOLOGY OFFICER :: ICQ (711385133)
  • JSA Matt
    So Fucking Banned
    • Aug 2003
    • 5464

    #2
    getenv("HTTP_REFERER")

    Comment

    • JDog
      Confirmed User
      • Feb 2003
      • 7453

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

      jDoG
      NSCash now powering ReelProfits.com
      ALSO FEATURING: NSCash.com :: SoloDollars.com :: ReelProfits.com :: BiminiBucks.com :: VOD
      PROGRAMS COMING SOON: Greedy Bucks :: Vengeance Cash
      NOW OFFERING OVER 60 SITES
      CONTACT :: JAMES SMITH :: CHIEF TECHNOLOGY OFFICER :: ICQ (711385133)

      Comment

      • JSA Matt
        So Fucking Banned
        • Aug 2003
        • 5464

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

        Comment

        • JDog
          Confirmed User
          • Feb 2003
          • 7453

          #5
          Is there away I could pull all the Environment Varialbes?

          jDoG
          NSCash now powering ReelProfits.com
          ALSO FEATURING: NSCash.com :: SoloDollars.com :: ReelProfits.com :: BiminiBucks.com :: VOD
          PROGRAMS COMING SOON: Greedy Bucks :: Vengeance Cash
          NOW OFFERING OVER 60 SITES
          CONTACT :: JAMES SMITH :: CHIEF TECHNOLOGY OFFICER :: ICQ (711385133)

          Comment

          • JDog
            Confirmed User
            • Feb 2003
            • 7453

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

            jDoG
            NSCash now powering ReelProfits.com
            ALSO FEATURING: NSCash.com :: SoloDollars.com :: ReelProfits.com :: BiminiBucks.com :: VOD
            PROGRAMS COMING SOON: Greedy Bucks :: Vengeance Cash
            NOW OFFERING OVER 60 SITES
            CONTACT :: JAMES SMITH :: CHIEF TECHNOLOGY OFFICER :: ICQ (711385133)

            Comment

            Working...