Scary: 33% of UK & US big companies (1000+ employees) read their employees emails (source , a .pdf report)

#

PHP GD : imagecolorallocate() Limitation

Did you know it ? PHP GD's imagecolorallocate() can only allocate 255 colors in a palette based image created by imagecreate() (no such limitation when you use function imagecreatetruecolors() by the way). This sounds pretty stupid as well as rather undocumented, but anyway, here is a new version of my GD Gradient Fill PHP class, which now produces correct colors…

PHP : Variables vs Constants

I thought, and had been told, that using constants instead of variables in PHP was mostly a matter of speed : at run time, the engine replaces every occurrence of a constant with its hard-coded value, making code presumably faster than using variables that must be evaluated each time they are encountered. Or something like this. Wondering how big or…

Heh, funny. I made a feature request for Filezilla (an FTP client) on 2003-11-29 at 13:26, and I've had a mail today telling that it's finally been implemented in latest release (2.2.24) I guess you never wait too much :)

#

PHP5 Benchmarks: for vs while, count vs sizeof, md5 vs sha1 and other speed comparisons like these for those who really need an extra millisecond of optimisation. I like this.

#