php

Posts tagged “php”

  1. Quick fix for the Social Counter Widget plugin

    I’ve been doing some charity work recently and as they will have a social presence the blog was in need of some social media buttons. I thought the Social Counter Widget plugin looked…

  2. Enable delayed messages in Zend_Queue

    The default Zend Queue DB implementation unfortunately does not allow you to pass a timeout value when saving a message on the queue. However not all is lost and you can easily extend…

  3. Zend Application Resource Plugin Loading Issues

    Admittedly thinking while feeling feverish is slightly impaired, but it took me a little while to figure this one out… Trying to integrate ZF 1.11 with Doctrine2 to as per this article, I…

  4. PHP_AUTH_USER and PHP_AUTH_PW is null

    Ok, so you’re trying to setup password protection on your website using HTTP authentication. Unfortunately despite the request for password working your authentication keeps failing. If you check the output of your script…

  5. Multiple changes and a delete on same object in doctrine

    If you want to make several different changes to a doctrine record object you might find yourself slightly puzzled when it comes to deleting related objects. It seems that unless you set the…

  6. Zend_Date time part and GMT

    If you live in the UK you might have a surprise waiting in store for you if you use Zend Date for the time part only. For a while I even thought this…

  7. Autloading modular forms & models in Zend Framework 1.8

    It’s not really obvious with the error messages you get, but using a thing like Form Login does not work out of the box with a modular structure. Which is slightly surprising considering…

  8. Doctrine Many To Many With Extra Fields

    Recently I have started using Doctrine with Zend Framework. Most of the time it is great, but sometimes I get stuck on this or that issue. Most of my problems so far have…

  9. Zend_Db_Select multiple table joins explained

    It sounds like a simple task – retrieve the result from a join SQL query. Unusually you can even find documentation on the official Zend Framework site explaining how to put together a…

  10. Regex for Autolinking URLs

    For a recent project I was wanting to perform an exceptionally common task. Converting things that look like URLs in the text into clickable links. However wherever I’ve seen this implemented before I’ve…

  11. Zend Framework Decorators - Labels and Checkboxes

    Very often it is the smallest things that annoy us the most. It took me a while to figure out why the placement parameter was not changing anything. I started of with the…

  12. How to convert PDT projects into PHPEclipse projects

    If for some reason you decide to swap from one Eclipse based PHP IDE to another, rather than recreate the projects you can change their association, so that the project builders work correctly.…