Aaron Saray

open source programmer,
web developer

entrepreneur, author
and musician

My Blog

contains PHP, Web and business/entrepreneurial related content. Please join in the conversation!

Monthly Archives: January 2009

Trac Bookmarklet: load ticket number easily

While communicating with other coworkers, they generally just give me a trac ticket # and not the full URL. And, as a lazy programmer, I hate typing in the full URL or loading up trac and searching the #. So, … Continue reading

Posted in IDE and Web Dev Tools | Tagged | Leave a comment

Bookmarklet: Wage Calculator

While searching for employment, I realize I can’t be super picky – but my household does have needs! Because of this, I’ve developed a quick calculator / bookmarklet for the browser that I thought I’d share. It allows you to … Continue reading

Posted in javascript | Tagged | Leave a comment

PHP Bitwise User Authorization

After looking at the Windows model for controlling file access, I realized I could also do that for user authorization control. The code is pretty self explanatory, but after, you’ll find a quick rundown. ?View Code PHP1 2 3 4 … Continue reading

Posted in mysql, PHP | Tagged , | 1 Comment

Eclipse PDT: Integrating Apache Bench for load testing

When I use an IDE, I expect for it to do everything I need for my project, from start to finish. As you may have read in earlier entries, I enjoy using Eclipse PDT. I think its time to include … Continue reading

Posted in apache, Eclipse PDT, IDE and Web Dev Tools | Tagged , , | 1 Comment

HTML 5 and Me – Draft 10 thoughts

I thought I’d ramble on a bit about my thoughts on the HTML5 differences from HTML4 draft from working draft 10 in June 2008. You can find it – or the newest one – here: html5 diff. I’m eagerly watching … Continue reading

Posted in html | Tagged | 3 Comments

Dialing Phone Numbers from a Webpage

I’ve recently been investigating making some better mobile accessible pages for some of my projects. I’ve seen pages that allow you to dial a phone number directly from the webpage – so I thought I’d investigate… WTAI – Mobile Protocol … Continue reading

Posted in mobile | Tagged | 2 Comments

PHP.ini creator

While listening to someone complain through twitter about their MySQL conf file, I came up with a cool idea: what if I created a PHP.ini creator that would suggest changes to your php.ini file as well as generate an updated … Continue reading

Posted in open source, PHP | Tagged , | Leave a comment

PHP and the UUID

I’ve been thinking more and more about having unique ID’s – especially with working with larger datasets – and I thought it was high time that I investigated the UUID. The first time I ever heard about these was actually … Continue reading

Posted in PHP | Tagged | 2 Comments

Is PHP's __call() used when no __construct is present?

Simple enough question. Lets check out some test code: ?View Code PHP1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <?php class TEST {     public function __construct($arguments)     {     … Continue reading

Posted in PHP | Tagged | Leave a comment

Localized dates in php

Date formats – How time makes pretty The PHP Date manual page has a ton of interesting features to format the date that you can display to the user. However, when you look closer at it, there are actually some … Continue reading

Posted in PHP | Tagged | 1 Comment