Joined February 2012
·

Mark van der Velden

Veldacon
·
The Netherlands
·
·
·

Posted to crop picture with php over 1 year ago

I suggest taking a peek at Imagick: http://php.net/manual/en/imagick.examples-1.php

And I would also like to suggest to check on a mime-type, instead of a filename extension.

Posted to Unobstrusive debug output in PHP over 1 year ago

You could also log to syslog, which is standard of logging for quite a while... Windows has a similar solution.

Headers shouldn't be messed with. Firebug is known for causing problems due to the large header sizes. Besides that, is using "X-" for headers deprecated behaviour, see: http://www.ietf.org/rfc/rfc6648.txt

Achievements
59 Karma
0 Total ProTip Views
Interests & Skills