some PHP proxy questions..

Discussion in 'PHP' started by syedwasi87, Jun 15, 2007.

  1. #1
    Ok so i now got a good host..and am gonna host a proxy site there..

    i just love php proxy, i do also know how to put ads on it..but i am a little lazy now :D are there pre written php proxy scripts to put my own adsense ad code??

    ....suggestions..?

    Btw is there also any method( i know php somewhat but not a hardcore php programmer) to limit the b/w per day..by editing the script?

    do you guys think its possible?it would be a great feature tho ;-)
     
    syedwasi87, Jun 15, 2007 IP
  2. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #2
    firstly, putting adsense in proxies will soon get you banned from adsense, it's not allowed.

    secondly, the script doesn't store it's own bandwidth usage, but one option you have is to write a bash or php or perl script to parse the server log ( assuming you can access them, if you cannot you need to add custom log file directives to an htacces file ) you can execute it hourly on a cron job insuring some sort of limits at least
     
    krakjoe, Jun 15, 2007 IP
  3. syedwasi87

    syedwasi87 Active Member

    Messages:
    2,147
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #3
    joe..thanks a lot...but i am not running it yet..

    i have seen many gusy here itself seeling proxy sites showing their adsense revenue!!?!!!

    i thot it was allowed..dunno..some ppl say it ..some s ay not..

    coming to the other point..i have php script support on my host...

    can i add some additional page and attach it to it..which will somehow..limit it?

    thanks for the help..cud u talk more on msn?just add me if u are not that busy..



    syed.
     
    syedwasi87, Jun 15, 2007 IP
  4. InFloW

    InFloW Peon

    Messages:
    1,488
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You're allowed to display the adsense ad's on the landing page of the proxy. It's the pages the proxy accesses you cannot insert adsense at the top of anything like that.
     
    InFloW, Jun 15, 2007 IP
  5. syedwasi87

    syedwasi87 Active Member

    Messages:
    2,147
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #5
    yeah..i am talking about ads on the main page..not on the sub pages..

    i did visit many proxies with ads on the landing pages..i mean our sites with their embedded code..thats not allowed for sure..

    but what i am asking about is ads on the main page...
     
    syedwasi87, Jun 15, 2007 IP