The Daily Kebab
The ramblings of a technomuse
The ramblings of a technomuse
Nov 18th
Nov 17th
PHP’s FILTER_VALIDATE_EMAIL validates email addresses quickly and easily.
<?php
$email = "marc@somehost.com";
if(filter_var($email, FILTER_VALIDATE_EMAIL) === FALSE)
{
echo $email." is invalid";
}
else
{
echo $email." is valid";
}
?>
Read it all at http://www.phpbuilder.com/columns/marc_plotz10012009.php3?page=2
Nov 12th
Nov 9th
Synopsis: “Multiple race conditions in fs/pipe.c in the Linux kernel before 2.6.32-rc6 allow local users to cause a denial of service (NULL pointer dereference and system crash) or gain privileges by attempting to open an anonymous pipe via a /proc/*/fd/ pathname.”
Debian 5.x systems suffer from this vulnerability (with or without Wine installed), and the fix is easy.
At a root shell, do the following:-
sysctl -w vm.mmap_min_addr="1024"
# make it persistent cat <<EOF > /etc/sysctl.d/mmap_min_addr.conf # Prevent http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3547 vm.mmap_min_addr=1024 EOF
Full details at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3547
Nov 4th
Caucho’s Resin server now has PHP support with the Quercus module. Claiming anything from 4x to 6x performance improvement, and easy writing of extensions in Java (and presumably any JVM based language), it looks like a really great idea.
Nov 3rd
Type designers and Web designers have reached a consensus on a format specification for embedding fonts on the Web. Mozilla is already including support for the font format in Firefox 3.6, and wide adoption could come sooner than many expected.
Read more at Web Open Font Format

Oct 30th
TCPDF is a PHP class for generating PDF documents without requiring external extensions. TCPDF Supports UTF-8, Unicode, RTL languages and HTML.