Archive for 2006

XForms cometh to PHP ! Throw out HTML_Quickform?


PHP Architect has an article in their June 2006 issue about using XForms within PHP5. If you don’t know what XForms is/are, you’d better look into it. It’s basically a way to describe forms on your page and all the data validation rules entirely in XML. ...

Smarty not so smarty in PHP5. Try XSLT instead.


So I’ve been working on this pretty big migration project lately, from PHP4 / MySQL 4 to PHP5 / MySQL5. It’s even larger because we’re moving from a largely procedural code base to using objects with inheritance and a lot of composition. So what’s all that have to do with ...

Functionality of the PHP trim command I bet you did not know


trim (PHP 3, PHP 4 , PHP 5)trim -- Strip whitespace from the beginning and end of a string Description string trim ( string str [, string charlist]) You can also specify the characters you want to strip, by means ...

Best… Typo… Ever…


From: Sysadmin Subject: Server auto logout FYI Interactive logins on all unix machines will now automatically timeout after 1 hour of inactivity. If you are running a long-running job/script, this will be unaffected if it runs past an hour. If you are just shitting at a ...

Load this Firefox bookmark in the sidebar


Bookmark a page in Firefox. Right click on the bookmark and select "properties." There's an option for "Load this bookmark in the sidebar." If you check that button, every time you click on that bookmark, it will open up in your sidebar. Pretty darn handy. ...

Everybody else is doing the Ajax Whois, why not me?


A buddy at work fell in love with the Ajax Whois and wanted a version on his own linux site. I've been playing around with a lot of Ajax stuff lately so I thought I'd give it a go using Ajax (javascript) and PHP. Here's the resulting code. It's ...

Zend Studio Tip of the day — Bookmarks


Ever need to refer to 2 or more different places in a file while in Zend? You can bookmark the sections for easy manuvering through the file. Put your cursor on the line you want to bookmark, and either right click the line number on the left or ...

AOL Instant Messenger – Triton, Norton, Password problems


So I thought I’d forgo using my GAIM today, even though it's totally working correctly... and even though it completely connects to all my instant message accounts... and see if the new AOL Instant Messenger called Triton did anything interesting. It turns out it does not. The thing ...

Close
E-mail It