Going trough some PHP code I have to clean up I’m a bit surprised at finding that it can take many lines using everything from preg_match to addslashes and mysql_escape_string to sanitize numeric input. So I thought I share a method that I find handy: $id = (int) $_GET["id"]; In some cases it might want [...]

First of all I’m happy to have received note that my blog have been added to MXNA today. They tried to add it on friday, but apparently their parser didn’t like my feed. It contained an “feff” tag before the XML prolog I was told. The feed was fine according to feedvalidator, other aggregators managed [...]

  • Share/Bookmark
© 2010 BlixtSystems Suffusion WordPress theme by Sayontan Sinha