SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 1999
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I already posted this, but haven't got a satisfactory answer. Does anyone know an advertsing script that cun run on an NT SERVER and that doesn't have any major bugs? Please don't refer me to cgi-resources.com A cheap(or free) version would be real nice.

    ------------------
    Find information on your favorite artist.
    http://www.datworld.com "Your one stop for Entertainment news"



    [This message has been edited by rain (edited February 10, 2000).]

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Actually you might want to look into something from www.aspin.com. Their goal is to be a resource for ASP like Cgi Resources is for PERL.
    IIS and ASP come with a component called "Ad Rotator Component" that pratically handles everything for you. An ASP script to rotate your advertisements could be done in as little as 4 lines.
    <%
    dim myAd as object
    set myAd = Server.CreateObject("MWSC.AdRotator")
    Response.Write(myAd.GetAdvertisement("/ads/schedule.txt"))
    set myAd = nothing
    %>

    The schedule.txt file contains your ads in blocks that look like:
    REDIRECT /Someurltoredirecttoifwanted
    Width 468
    height 60
    border 1
    *
    ww1w.urlto1stadhere.com/image.gif
    ww1w.websitetogotohere.com/
    Ad text here
    20 ' impressions or the weight of the add. Higher numbers mean more showings.

    and repeat the section after the asterisk for each ad. If you need more help email me or look at some of the tutorils listed at aspin.com.

    ------------------
    Wayne Luke
    Internet Media Provider

    [This message has been edited by wluke (edited February 10, 2000).]


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •