ring-trial

Archive for the 'PHP' Category

You might already know varnish. Its a so called website accelerator. It will sit in front of your web server as a reverse proxy, listening on port 80, handling static contents based on the configuration files, and pass all dynamic requests to the main web server behind it. varnish will help alot to reduce request [...]

Have you ever encounter your site have been compromised, and you found some weird file being uploaded into your hosting account? Thats what the first thing the attacker would want to do on a web attack, to upload a webshell. Webshell is some kind of web-based backdoor, usually protected by a password, and allow the [...]

I had a few encounters with this problem. I’m thinking of placing it here. I always forget where I got the solutions. This happens when you want to install plugin or themes, or upgrading them. Given that you have the FTP credentials correct, there some glitch where you might encounter this problem. One way, it [...]

filter by IP using PHP

I bump into a problem when I need to filter my application to be accessed from certain IP only. So, some googling around, i found s simple code to do this. $targetAddr = “192.168.1..*”; if (ereg($targetAddr, $_SERVER['REMOTE_ADDR'])) { echo “”; } else { die(“Sorry. Not allowed from your IP.”); } This simple script will allow [...]

Last few weeks I have these problem, where my server could not handle so much connection made to the server. The server have been upgraded, and the loads have been reduced. But there is some connection that stuck, that makes my apache died. Last 2 days it happen once, when I got a LAST_ACK DDOS [...]

If you managing a wordpress site, or any CMS, I’m sure you will encounter spam activity. It is actually a bot, or a small program that will come and visit your site, to register or post a comment. Thanks to Akismet, a default plugin that bundled together in WordPress package, that blocked most of it. [...]




Get Chitika | Premium
Eye Shadow iPhone 4 Case speckcase
Eye Shadow iPhone 4 Case by MiPhoneCase
See more iphone 4 cases
Make Your Own iPhone 4 Case speckcase
Make Your Own iPhone 4 Case by mvdesigns
More iPod touch cases