Where to insert adbrite code in proxified page? I try to the code in index.php but the proxified page is not working. where can get the procedure?
What type of script are you using? Try doing this: 1) Browse to a site using your proxy. 2) Check the URL. It should be something like yourproxy.com/index.php?__new_url=awholebunchofrandomlettersandnumbers Basically, assume that the characters between ? and = is the GET variable. 3) Open up your index.php 4) Enter this code, making necessary changes. <?php if (isset($_GET['__new_url'])) { // Replace "__new_url" with whatever you found your GET variable to be. ?> <!-- REPLACE THIS LINE WITH THE ADVERTISEMENT CODE --> <? } ?> Code (markup): 5) Save and upload to your server. I think that should work
i am using the proxytemplate from http://www.freeproxytemplates.com I tried to use the guide from freeproxytemplates. but my proxified page is not working
I take it you are following the guide here: http://www.freeproxytemplates.com/adversal-adbrite-proxy/ Can you post the code that you have put in here so we can take a look? You need to make sure you remove these lines: var AdBrite_Title_Color = '0000FF'; var AdBrite_Text_Color = ‘000000′; var AdBrite_Background_Color = ‘FFFFFF’; var AdBrite_Border_Color = ‘FFFFFF’; OR replace them with \ in it like this: var AdBrite_Title_Color = \'0000FF\'; var AdBrite_Text_Color = \'000000\'; var AdBrite_Background_Color = \'FFFFFF\'; var AdBrite_Border_Color = \'FFFFFF\'; Also remember that Adbrite will take a while to display any ads. Hope this is of some help. JB