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.

How do i get started....?

Discussion in 'Co-op Advertising Network' started by fluke, Oct 18, 2004.

  1. #1
    Hi
    Right - i've been meaning to try the ad network for some time now and have finally got round to looking at some of the info and FAQ and have opened an account.

    now, i think i'm getting a little confused - i seem to recall reading somewhere that not all sites are accepted and are reviewed prior to be accepted in the network - if this is the case and you're reading this shawn - the site i wish to use is the one in my sig - - if you could tell me whether it is acceptable or not i'd appreciate it. the site is html but i am sure the server runs php - so i think this means it is acceptable technology wise (i am not an internet technology wiz but i suppose i will find out the exact details and set it up if the site is accepted)

    secondly - on the subject of setting up - i think im going a little crazy - as only minutes ago i was looking at a page showing how to set up the site to accept the ads (ie via php - by inserting a php and text file and adding a line or two to my htaccess file) and now i cannot for the life of me find this page again - can someone give me a link to this page at all?


    aside from these things if anyone wants to give a noob a few pointers as how to go about things it would be appreciated :) thanks
     
    fluke, Oct 18, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    The sties that are not accepted are adult, pharmacy and gambling.

    For the setup, click on the Setup Instructions from within your account.
     
    digitalpoint, Oct 18, 2004 IP
  3. fluke

    fluke Guest

    Messages:
    209
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks shawn - can't believe i missed that link - i think the thing was i thought i was reading the setup page before i created my account - so i wasn't looking for the link on the account page.

    right if you wouldn't mind indulging me for a second i have another easy question for you - in the very first stage of the setup it says you need php 4.3.0 , however my server is running 4.1.2 - does this mean my site will be compatable or not if so what different do i need to do?

    thanks for your time :)
     
    fluke, Oct 19, 2004 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    The only reason you need 4.3.0 is because it has the file_get_contents() function and doesn't auto-seed a random number.

    So if you add this to the beginning of your ad_network.php file, you *should* be okay...

    function file_get_contents($url) { 
    	$handle = fopen($url, 'r'); 
    	$string = fread($handle, 204800); 
    	fclose($handle); 
    	return $string; 
    } 
     
    function make_seed() {
    	list($usec, $sec) = explode(' ', microtime());
    	return (float) $sec + ((float) $usec * 100000);
    }
    srand (make_seed());
    PHP:
     
    digitalpoint, Oct 19, 2004 IP
  5. fluke

    fluke Guest

    Messages:
    209
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    great - thanks i shall try in a minute

    (p.s is the text box for the ad_network.php file supposed to be empty? - well not empty but it just says "code" at the top - ?)

    thanks again
     
    fluke, Oct 19, 2004 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    No, you would need a JavaScript enabled browser to view it.
     
    digitalpoint, Oct 19, 2004 IP
  7. fluke

    fluke Guest

    Messages:
    209
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    'scuse me if this seems a really d*mbass question - but i thought my browser was javascript enabled - i use both IE6 and opera6 and it doesn't show up in either - though i'm sure things like javascript rollovers etc work fine...? :confused:
     
    fluke, Oct 31, 2004 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #8
    Hmmm... not sure, I just tried it with IE, Opera and Safari, and it works for all when I try it.
     
    digitalpoint, Oct 31, 2004 IP
  9. fluke

    fluke Guest

    Messages:
    209
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    dang - it's typical that i get thwarted at the first step by such a thing as this :(
     
    fluke, Nov 2, 2004 IP
  10. fluke

    fluke Guest

    Messages:
    209
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    am i being really thick here - is that box supposed to contain the code for the ads - (if so then i guess it will only show if i have written ads and had them reviewed yes?)
     
    fluke, Nov 29, 2004 IP
  11. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #11
    It contains PHP code... generated with a JavaScript.
     
    digitalpoint, Nov 29, 2004 IP