UCJ under PHP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dusen
    Confirmed User
    • Aug 2002
    • 2251

    #1

    UCJ under PHP

    Anyone use UCJ called from a php file?

    I tried calling the file

    exec("/cgi-bin/ucj/ucjref.cgi");

    like so, but it strips away all the referrer data like that.

    Anyone have theirs working fine on PHP? Or have a suggestion?
    Penis Pill Sponsor List and Reviews:
    http://www.pillsponsors.com
  • mech
    Confirmed User
    • Oct 2002
    • 343

    #2
    Try include("/cgi-bin/ucj/ucjref.cgi");
    Geo-target banners, text, snippets of code...
    basically anything on your website with Geo-Ads PHP.

    Comment

    • Dusen
      Confirmed User
      • Aug 2002
      • 2251

      #3
      You know, I've been coding PHP for years, and I had myself convinced that include wouldn't work, even without trying it.

      Sometimes I question my right to speak.
      Penis Pill Sponsor List and Reviews:
      http://www.pillsponsors.com

      Comment

      • SetTheWorldonFire
        Confirmed User
        • Feb 2002
        • 7444

        #4
        so.... did it work?
        www.STWOFDesign.com
        hit me up on icq 154206276 or Skype: JaimeGizzle

        Comment

        • Pipecrew
          Master of Gfy.com
          • Feb 2002
          • 14888

          #5
          try this, its what i use and my shit is heavy in PHP

          <?php
          putenv ( "HTTP_REFERER=".$HTTP_SERVER_VARS["HTTP_REFERER"] ) ;
          putenv ( "REMOTE_ADDR=".$HTTP_SERVER_VARS["REMOTE_ADDR"] ) ;
          PassThru ( "./cgi-bin/ucj/ucjref.cgi" ) ;
          ?>

          Comment

          • Dusen
            Confirmed User
            • Aug 2002
            • 2251

            #6
            include didn't work, BUT, let me check ucj to see if it caught the referrer in the code pipecrew pasted.. Thanks man!

            OUTSTANDING

            It works. Thanks pipe!

            STWOF: I haven't heard from you re:bandwidth. Still want it?
            Last edited by Dusen; 11-20-2002, 01:14 PM.
            Penis Pill Sponsor List and Reviews:
            http://www.pillsponsors.com

            Comment

            • Pipecrew
              Master of Gfy.com
              • Feb 2002
              • 14888

              #7
              Originally posted by Dusen
              include didn't work, BUT, let me check ucj to see if it caught the referrer in the code pipecrew pasted.. Thanks man!

              OUTSTANDING

              It works. Thanks pipe!

              STWOF: I haven't heard from you re:bandwidth. Still want it?

              Only thing is it doesnt count bookmarkers for me that way but it might just be how my site is setup

              it has an include header/main/footer

              but it was the only way my sites would work with UCJ

              Comment

              • Ludedude
                Suck it!
                • Jun 2001
                • 4432

                #8
                Originally posted by Pipecrew



                Only thing is it doesnt count bookmarkers for me that way but it might just be how my site is setup

                it has an include header/main/footer

                but it was the only way my sites would work with UCJ
                Nope, not your site. I have my UCJ running the same way and it doesn't count a single bookmark.

                Comment

                • Dusen
                  Confirmed User
                  • Aug 2002
                  • 2251

                  #9
                  Yes, I see that. Last 3 hours 0 noref and 0 nocookie traffic.

                  I can see their clicks in link report though.
                  Penis Pill Sponsor List and Reviews:
                  http://www.pillsponsors.com

                  Comment

                  • 421Fill
                    So Fucking Banned
                    • Nov 2001
                    • 20659

                    #10
                    I just have mine framed with the include in the shtml frame page... it counts everything.

                    Comment

                    • Dusen
                      Confirmed User
                      • Aug 2002
                      • 2251

                      #11
                      Can you make like a 1x1 infinately small frame?

                      As well, is there an issue with browers nowadays and frames like there used to be?
                      Penis Pill Sponsor List and Reviews:
                      http://www.pillsponsors.com

                      Comment

                      Working...