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: November 2008

The Observer Pattern in PHP: Refactored

You may remember the article I wrote about the observer pattern in php – but it lacked some of PHP’s advanced features. In this next example, I’m not going to explain the logic as much – read the original post … Continue reading

Posted in PHP | Tagged | 1 Comment

How custom passphrases/pictures still don't protect against phishing

As you probably remember, I have lots of interest in phishing techniques (I talked about one here, and preventing them here). I’ve noticed a new trend: a dual stage login form with a custom picture or passphrase. Users are to … Continue reading

Posted in security | Tagged | Leave a comment

Unofficial xdebug ini – with comments!

I found a great article about the xdebug ini file – someone went through and added comments – much like the apache conf files. Amazingly well written.

Posted in PHP | Tagged | Leave a comment

Understanding the Observer Pattern in PHP

For a while, I’ve been looking at plugin systems, but not really fully understanding the pattern behind them. Don’t get me wrong, I see how they work, but I didn’t know the reason why – the theory or pattern behind … Continue reading

Posted in PHP, programming | Tagged , | Leave a comment

Posting Requests in PHP without CURL

Can it be done? YES! Luckily, functions like file_get_contents() support stream contexts. In this example, I want to post to my form my login credentials of username “aaron” and password “chicken”. This will be posting to the URL of http://test.com/login.do.php. … Continue reading

Posted in PHP | Tagged | 2 Comments

How to throw an AMAZING meeting

I’ve been to far more meetings than any one on earth should ever have had to by the time they’re 25. With that experience, however, I can start to pick out key points of running a great meeting or demonstration. … Continue reading

Posted in professional tips | Tagged | Leave a comment