Category Archives: howto

MySQL – The Name of the Table

Beware when renaming a table if there are other tables around that have foreign keys on the renamed table. Following case: we want to exchange some table against a better structured one but for some reason do not want to … Continue reading

Posted in howto, mysql | Leave a comment

MySQL hates you …

… if it is badly treated This post will show something about MySQL locks, transactions and autocommit. Before we start, here’s some useful stuff to know: You get the MySQL connection id with SELECT CONNECTION_ID(); You get information about use … Continue reading

Posted in howto, mysql | Leave a comment

SOAP headers and PHP 5.2.3

My last post about how to handle SOAP headers was done with PHP 5.3.5-1ubuntu7.7 with Suhosin-Patch (cli) (built: Feb 11 2012 06:22:51). I tried to run the same installation on PHP 5.2.3 and it failed to handle SOAP headers. Documentation … Continue reading

Posted in howto, PHP, SOAP | Leave a comment

My own little SOAP

Ingredients: Some WSDL file. Some endpoint that either coughs up the wsdl or let’s the SOAP server handle a request. An object that does the SOAP handling (use SOAPServer::setObject) A SoapClient to see what happens when the SOAP server is … Continue reading

Posted in howto, PHP, SOAP | Tagged , , , | Leave a comment

Howto make your live easier with an autoloader

Do you honestly want to include all needed classes at the top of every one of your php files? If you say yes, go on, have fun with your code, your problem. Ok, so an autoloader cares about loading all … Continue reading

Posted in howto, PHP, tools | Tagged , | Leave a comment