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
The sties that are not accepted are adult, pharmacy and gambling. For the setup, click on the Setup Instructions from within your account.
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
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:
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
'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...?
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?)