Archives
-
Recent Comments
Category Archives: PHP
How to install Xapian 1.2.5 PHP bindings on Ubuntu Lucid Lynx
Starting from version 1.2.x, Xapian repository on Ubuntu does not contain php5-xapian package apparently due to the license incompatability between GPL and PHP license(great…) Issue is discussed somewhat at length here. But in the meantime, folks suggesting to build PHP … Continue reading
Posted in Linux/UNIX, Notes For Myself, PHP, System Administration
Leave a comment
Getting around open_basedir restriction on Plesk
Almost every time I do a deploy on Plesk-based hosting server, I hit the same roadblock: PHP Warning: realpath() [<a href='function.realpath'>function.realpath</a>]: open_basedir restriction in effect. Since I tend to keep my app-code outside of webroot, this restriction is somewhat a … Continue reading
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
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
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
PHP date format for MySQL DATETIME fields
date(“Y-m-d H:i:s”, $timestamp);
Choosing Credit Card Fraud Detection Service: MaxMind® vs. FraudLabs™
Credit Card fraud detection service may seem like an unnecessary thing, but if you’re running(or building) an ecommerce site that may potentially have a lot of transactions it’s something that you may want to look into as a measure of … Continue reading
Posted in PHP
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