So, I modified the code from the last post to help defend against IP spoofing, dynamic IPs, and proxies. New code: <?php $badIPs = array(“1.2.3.4”, “2.3.4.5”, “3.4.5.6”); // Bad IP list foreach($badIPs as $badMonkey) { if(($_SERVER[‘REMOTE_ADDR’] == $badMonkey) || ($_COOKIE[‘badMonkey’])) { // Bad monkey! No website for you! setcookie(“badMonkey”, ‘blockMe’, time()+2592000, ‘/’); header(“Location: http://tubgirl.com”); //… Continue reading Baller Blockin’ with Cookies
Author: dubtea
Baller Blockin’
No, this has nothing to do with that amazing cinematic masterpiece by Cash Money, but instead about blocking website access. A friend of mine just ICQ’d me, asking if there was an easy way to redirect unwanted IPs from reading her blog to a bit more of a visually caustic website (like the now-defunct goatse.cx).… Continue reading Baller Blockin’
Always a Bridesmaid …
Well, I’m off in an hour or two to Florida this weekend for my cousin’s wedding. Hopefully I’ll be back in time on Sunday to catch the end of an amazing Giro, and to collect my $20 from Sonny that Basso will have won me. And with that $20, I’m going to turn right back… Continue reading Always a Bridesmaid …
Happy Towel Day!
Rollin’ to work through the quarter with Ole’ Blue™:Lara is right. I really shouldn’t have any friends. *Disclaimer*: I don’t actually name my towels. I just did that to point out that I was indeed sporting one this morning, in public.
May 25th: Towel Day
Tomorrow is Towel Day. It is a day that us geeks celebrate Douglas Adams and further label ourselves as “easy targets” by carrying our towels in rememberance. Why a towel? Well, let’s refer to the Hitchhikers Guide to the Galaxy for that answer: A towel, it says, is about the most massively useful thing an… Continue reading May 25th: Towel Day
Tak! Tak en Lah!
In two hours, Stephen King’s Desperation airs on ABC. Ron Perlman is Collie Entragian. Most of you don’t care. I do. cantwait.cantwait.cantwait.
Austin and back, again
I just spent the past four days in Austin, TX with Dana. We drove up Friday morning in a 2 car caravan with my friend Joe, his half-sister Maya, and her adorable daughter Mimi who were also happening to go to Austin. I’ll try at a later point to give a better re-cap, but in… Continue reading Austin and back, again
Do you remember?
On that whole Net Neutrality thing…
So, a co-worker asked me today to explain this new crap that is anti-net neutality. There’s been plenty of talk about it, and chancers are good that you have heard some of it. For those of you that are in the dark, I’m not going to explain it so just click that above link, or… Continue reading On that whole Net Neutrality thing…
Blind leading the blind.
So where do we go When everyone knows that we’re nowhere? And we’re not even nowhere, They say you can get there from here. – Firewater, Too Many Angels So, in preparing for Andre and Leigh’s wedding next weekend, I decide to GoogleMap my trip. The results are, well, a bit stupid (applicable stupid area).… Continue reading Blind leading the blind.