1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Coop Network for ASP sites

Discussion in 'Co-op Advertising Network' started by Zinho, Dec 2, 2004.

  1. #1
    Greetings to all,
    having read about coop ad network benefits I tried to signup.
    I've found out that only php sites can join the network. My site is written in asp but supports php. I have no html pages. Is there any chances for me to join? Will be there a asp version? Shawn, I could give some help if you plan such port.
    Thanks in advance
    SEMrush
     
    Zinho, Dec 2, 2004 IP
    SEMrush
  2. xml

    xml Peon

    Messages:
    254
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Couldn't you run a seperate PHP script e.g. www.domain.tld/adnetwork/include.php

    Have the PHP code in that script then include the file via ASP thru HTTP?

    e.g.
    whateverClassforASP.include("http:// www.domain.tld/adnetwork/include.php")

    This will force the PHP to be parsed and should work???
     
    xml, Dec 2, 2004 IP
  3. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Do a search on the forum for an ASP version of the script.

    I'm 95% sure that someone has already written it.
     
    SEbasic, Dec 2, 2004 IP
  4. l0cke

    l0cke Active Member

    Messages:
    178
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    73
    #4
    I have created a new version of the ASP port incorporating the latest changes to the ad network. A couple of people are testing it but I have not heard back so I have not released it yet. If you are willing to test it let me know. The new version will be a requirement soon.
     
    l0cke, Dec 2, 2004 IP
  5. Zinho

    Zinho Peon

    Messages:
    284
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yes I would like to test it.
    contact me by email / msn: zinho@hackerscenter.com
    I'm an asp programmer. Maybe it can be useful for you.
    Thanks
     
    Zinho, Dec 2, 2004 IP
  6. Zinho

    Zinho Peon

    Messages:
    284
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Greetings,
    The asp code for the coop network is almost finished.
    l0cke is the original owner and all the credits go to him. He did a good work.
    Although I've added some important improvements regarding ad retrieving from the ad server and ad showing. I think it is much more reliable and stable now as it can be installed on any IIS server without compliance issues.
    I'm using it on my home http://www.hackerscenter.com on the right-down side.

    We need to test it some more though.
    Me and l0cke would like to receive your feedback and any bugs ( I hope none):


    http://www.hackerscenter.com/ad_network.txt

    P.S. Sorry I cannot link.Live linking is not allowed for members with less than 10 posts...as if 10 posts decide a seriousness of a person
     

    Attached Files:

    Zinho, Dec 2, 2004 IP
  7. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,299
    Likes Received:
    2,603
    Best Answers:
    461
    Trophy Points:
    710
    Digital Goods:
    29
    #7
    You want want to attach the ASP code file as an attachment to the post itself.
     
    digitalpoint, Dec 2, 2004 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,299
    Likes Received:
    2,603
    Best Answers:
    461
    Trophy Points:
    710
    Digital Goods:
    29
    #8
    Finally decided to look over the ASP code because I noticed that a couple servers that ended up being blocked from making requests to the ad server yesterday were all running ASP code.

    A few things that need to be done...

    The script needs to check if the ad_network_ads.txt file is writable or not. If it's not writable, tell them and don't make a request to the ad server. If the file isn't writable ads then the whole caching mechanism wouldn't be used.

    You also should be using some sort of file locking mechanism when writing the file, otherwise high traffic sites will not be able to cache ads properly either.

    I'm not sure if those are the root cause of why the servers running the ASP version needed to be blocked or not, but it would be a good start.
     
    digitalpoint, Dec 3, 2004 IP