Skip to the posts
Buffalo's neighborhood journals since 2003 🍀 Patrick Spicy Devil Logan🌭 Sahlen🥨 Weber Spank🥟 Pierogi🐸 Scaj🍺 Labatt Utica Pink Cherio❄️ Snow Murder

paul’s journal

Bandwidth sucking worm

· 🌡️ 0°F

LWP::Simple/5.65 is annoying and eating up bandwidth . If you have a site and are having similar problems here is some PHP code that will at least block it from getting to content.

if(substr_count("LWP::Simple", $_SERVER['HTTP_USER_AGENT']) != "0" ) {
exit;
}

💬 0 comments

💬 Write a comment