Archive for the tag ‘php’

  • Get rid off phpmail()!

    Monday, August 31st, 2009 by stevie

    Dear sysadmins and developers,
    phpmail() IS OUT! Get rid off it. Now!
    One of the most common sources of spam are “hacked” webservers and poorly or even non-secured forms. By using phpmail the webserver must be allowed to send mails without checks for a valid sender. This results – mostly on a shared web host – in [...]

  • Using the Zend Framework 1.8 Bootstrapper and Doctrine 1.1.0

    Wednesday, June 10th, 2009 by Daff

    I think that by now, the Zend Framework is one of the most sophisticated PHP frameworks available.
    Additionally I really like the idea of Object Relational Mapper tools. Unfortunately the Zend Frameworks DB and ORM capabilities didn’t convince me yet. That’s where the powerful ORM tool for PHP named Doctrine comes into play.
    It is fairly easy [...]

  • Adding a simple pagination to your site

    Saturday, February 21st, 2009 by Erik

    or: the dangerousness of simple mathematics
    I guess many people had this problem before and I think everybody managed to solve this quite similar. Anyways, just in case this is useful for anybody: here’s how I added a pagination to a site recently.
    Given you have an array of products for example. Or maybe search results, a [...]

  • Using PHP5’s XMLWriter

    Wednesday, January 21st, 2009 by stevie

    The Class library of PHP5 offers a possibility to easily generate valid XML-files.
    Sadly the documentation and the usage examples are very poor on this topic so PHPBuilder Forum member iceomnia decided to do something about it and wrote a quick howto on this subject.
    With that information you can jump right into the code and generate [...]

  • Zend Framework Book: Surviving The Deep End

    Thursday, January 15th, 2009 by stevie

    For all those who always wanted to try out Zend’s Framework for PHP or just struggle with the usage of it, Pádraic Brady published an Open Book about that topic named “Surviving The Deep End“.
    Maybe it’ll help you through the hard time figuring out the basics or solving specific issues.
    Link: Zend Framework Book: Surviving The [...]