Serendipity

From LinuxReviews
Jump to: navigation, search

Serendipity is a user-friendly popular PHP blog

[edit] Comment spam

Insert this at the beginning of comment.php to prevent anyone from spamming your blog without being referred from the blog (this prevents spamming from third party URLs and automated software).

 $referrer = parse_url( $_SERVER[ "HTTP_REFERER" ] );
 if ( $referrer[ "host" ] != $_SERVER["HTTP_HOST"] ) {
 echo "Don't post from another server!";
 exit();
 }

[edit] External links

Personal tools
hardware tests
Categories
Privacy policy
linux events
ipv6
Networking
IPv6

Search:

linux newz | random page | poetry | free blog