Ok doing some research here on blocking China and Iran.. I found this <?php $country = geoip_country_code_by_name($_SERVER["REMOTE_ADDR"]); if (($country == "CN") or ($country == "IR") or ($country == "SA")) { die("Sorry to say your country is blocked from this proxy!"); } ?> PHP: But i do not want to block them totally. I just want to redirect them away somewhere... Anyone know how to rewrite this PHP so that they get redirected. I know how to do it in .htaccess but i am not so good with PHP.
ACTUALLY! don't anybody answer that question. I have just gotten a coder to write me a proper solution.
It was ages since the last time i used php , anyway try this , it might work (from the script your provided its going to be some things like this) <?php $country = geoip_country_code_by_name($_SERVER["REMOTE_ADDR"]); if (($country == "CN") or ($country == "IR") or ($country == "SA")) { header( 'Location: http://China-Iran-Saudia-Arabic-WebSite.com' ) ; } ?> PHP: btw IR = Iran , CN = China and SA = Saudi Arabia , So if you don't want to block them remove 'or ($country == "SA")' -=-=-=-=-=-=-=-=- Could anyone give me a feedback/reviewing my new proxy please? SSL Proxy: https://pSector.info Non-SSL : http://pSector.info Old Proxy : https://eCrossX.com Any hints/tips are appreciated
it is , we do what with do for profit , because a proxy should be for all people and guarantee to all the freedom of browsing the internet especially in countries where the gouvernement don't allow it
well certain countries make most proxy owners got smart priced by adsense. So to avoid it is better off to block them But there are still many more proxies allowing all traffic. it takes extremely long to load. VERY long.
of course.. they are cached once you're access it. but it'll be a bit hard for first time users to access and not to get wrong impression about access.
as for blocking ip, if you own an dedicated server or a vps, you can also go to your firewall and simply block them. Hassle free for going through each site.
Hey guys, I have been working the last few days to get a Proxy site up. I don't have adsense yet, i'm working on that. I do have Adbrite. My question is, do I need to make a new "zone" for each ad spot on my proxy, and also do I need to make a new "zone" for each site. Right now I have a banner toward the top of the main page and the same banner at the top of the proxy page. Check my sig for the sites. Thanks
Generally speaking, no you dont need to. You can simply use the same code on all your ad zones and on all your sites. However 1 thing I notice about adbrite is the higher amount of impressions you drive them per zone from proxies, they begin to lower your eCPM to as low as $0.002 which is crazily pathetic. Ever since I separate them into individual zones things got better and eCPM went up to about $0.03.
Of course If you were smart instead of blocking chinese and other cheap traffic countries youd simply display adbrite or something else on the front page instead of adsense for all "cheap" Ips.
OK, another question What is good content to add to proxies? I see some proxy script modified to add Youtube , videos etc or proxy related articles How effective are such additional content?
Content on the homepage? Well you certainly don't want such anything to distract and "leak" out your traffic. So keep them minimal. An RSS might help the Googlebot give you better ads.
I have asked AdBrite support on this issue and here is what I got in reply: So, yes you can use one ad zone for each of your sites. Glype, because it is developed constantly and PHP Proxy stopped development.