AJAX-enabled Smarty plugins

Posted by Dmytro Shteflyuk on under PHP

Today I’ve created simple AJAX-enabled plugins for Smarty. I don’t try to develop powerful reach-applications framework. I can give you only idea how to integrate AJAX-technology into Smarty. But if you have any offers how to improve anything I’ve described or if you just want to leave feedback please post you comments on my site.

Read the rest of entry »

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 »