dBug – Impoved var_dump for PHP

Posted by Dmytro Shteflyuk on under PHP

Today I found very useful tool for PHP – dBug. I think every PHP-programmer uses var_dump or print_r functions for debugging purpose very often. dBug displays structured information about your variables like these functions but in more suitable way (in colored tabular format).

Full features list with the examples of work can be found on original site.

dBug - Impoved var_dump for PHP

Why does IE save pictures from the Web in bitmap format?

Posted by Dmytro Shteflyuk on under PHP

Today I found very strange problem with Internet Explorer. I’ve generated GIF-image with PHP GD2 and sent results for client browser. In IE I’ve tried to store picture in my local file system but the only option was to save the picture as a .BMP file instead of as a native .gif file! The same problem is described in Microsoft Knowledge Base, but it does not help me.

Read the rest of entry »