Tag Archives: PHP

WordPress shortcode for ShareThis buttons

I like using ShareThis for social sharing button, but one thing that was certainly missing for the default ShareThis WordPress plugin were shortcodes. Luckily WordPress makes it really easy adding them So to get shortcode for ShareThis integration just add … Continue reading

Posted in PHP | Tagged , | 3 Comments

How to setup local PHP debugging with PHPStorm and Xdebug

I am checking out a new IDE on the block – PHPStorm… well, new for me anyway For Java and Python, Eclipse is all I need, but when coding in PHP, I am not a big IDE guy, for me, … Continue reading

Posted in PHP | Tagged , , , , , | 14 Comments

XDebug doesn’t show local variables in Komodo, NetBeans or Eclipse PDT

Lovely surprise that came sometime after upgrading Lucid Lynx(and thus to PHP 5.3.2) – Xdebug doesn’t show local variables. Fortunately that’s a known issue that is fixed in Xdebug 2.1.0RC, but since it’s not released, it is not yet in … Continue reading

Posted in Linux/UNIX, PHP | Tagged , , | 12 Comments

PHP date format for MySQL DATETIME fields

date(“Y-m-d H:i:s”, $timestamp);

Posted in PHP | Tagged , | Leave a comment

Setting up complex data types in WSDL

Putting SOAP service on PHP platform is a piece of cake. There are few nice articles out there that will pretty much guide you through the whole setup(which is in fact just putting together WSDL and server-side functions to handle … Continue reading

Posted in PHP | Tagged | Leave a comment