My ghosts like to travel

Posted on August 18, 2006 by justin.
Categories: Fake Content, Site Updates.

Ok, the shoutbox is back again. I found some updated code to add an IP blocking list to Jalenack’s shoutbox. You can even publish a feed containing your blocked spammer IPs, so other people can synchronize their lists with yours, or you can synchronize your list with theirs.

The server gonad.org is hosted on blocks using file() to open URLs, so I had to change:

$lines = file($feeds[$i]);

to:

$cmd = "wget ".$feeds[$i].” -q -O -”;
$lines = explode( “\n”, s h e l l _ e x e c( $cmd ));

in jal_shout_spam_sync().

If you’re wondering why s h e l l _ e x e c() is spaced out like that, read the end of this. Google saved me from ripping my hair out.

Sleep.