Web Development Blog

Web development tutorials, SEO articles and PHP script resources

Subscribe to this blog

Archive for May, 2007

Wednesday
May 30,2007

If your website becomes a little busy the websites bandwidth becomes very valuable. If your visitors using too much bandwidth and the conversions from your website are very low or just moderate, it’s possible that you get broke with also a good internet website project. During the last month the web proxy business was a very hot item with thousands of new web proxies every day. Since it’s not allowed to place Google ads on the proxified pages, it’s very difficult to find alternatives which pay enough that you can pay your hosting bills. One of them is Adversal, they pay a moderate amount for traffic generated by US, UK or CA visitors. But what if your traffic and bandwidth is mostly used by visitors from other countries? In this case the visitors using your server resources and visitors from your target group are maybe not able to use one of your fast web proxies.

With the proxy script PHProxy (version 0.5b2 from 20th January 2007) and the data IP location database from ip2nation it’s very easy to block visitors which are coming from other countries then your target group. In this tutorial you will learn how to add the required code to your PHProxy powered proxy website. (more…)

Friday
May 18,2007

I think the best WordPress Plugin is Akismet, without this useful tool every WP blog owner need to review all comments to select the good comments. There is a lot of work to do for this weblog, more then 100 spammy comments a day, and strange enough most of them are coming via the same IP addresses.

Thanks Akismet, you’re doing a really good job!

Ok, next action was to block these IP addresses via .htaccess, but this doesn’t work for me. I guess the reason is that most of the spam is send via the trackback URL and it looks like that .htaccess will not work (at least on the server where this blog is hosted, regular access blocking via .htaccess works fine). Maybe these spammer connect the trackback URL via a proxy?

I didn’t like that some comments from our blog readers become trashed because of the big amount of spam on the internet, so I checked once a week >1000 spam messages. But enough is enough, there is a way to block this guys which posting spam via the trackback URL without disabling this important feature. Just add this code to your wp-config.php file: (more…)

Saturday
May 5,2007

These days a customers website has generated a large amount of traffic because a client site has offered some “bigger” file downloads to their visitors. Normally there is nothing wrong with this kind of downloads on most of the websites, but in this case there are lot of visitors using a file download manager. With the most of these download clients it’s possible to enter a number of maximum connections for each target server. Just imagine if the visitor is using a value of “99″ for a file of only 10MB! This way one file download for one visitor will open 99 connections and the used bandwidth will be almost one gigabyte.

There is a apache module name mod_limitipconn which can handle this task, but what if the website is on some shared web hosting? In the last situation we need to write some extra function: In this small tutorial we are using some some mod_rewrite rule and a download script while the downloads are logged in a database. (more…)