Joined February 2012
·
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
Raven
Have at least one original repo where some form of shell script is the dominant language
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Nephila Komaci 3
Have at least three original repos where PHP is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
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.