You may remember the article I wrote about the observer pattern in php - but it lacked some of PHP’s advanced features. (more…)
All entries of my technical and business blog.
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 gain trust in the login page because their custom configured option is displayed. The more I started thinking about this, however, I kept seeing an issue - this still can be easily phished! I’m going... (more…)
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 configuration files. Amazingly well written. (more…)
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 it. Well turns out, generally, they’re based upon the observer pattern. I decided to write my own observer pattern demonstration here. (more…)
Posting Requests in PHP without CURL
Can it be done? YES! Luckily, functions like file_get_contents() support stream contexts. (more…)
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. I know this is a different type of post for this blog, but I think its important. There may be times that you’re called on to conduct a meeting or demonstration, as a technical resource.... (more…)
Name CSS Classes More Descriptive
One thing I remember being pounded into my head is to not create CSS classes after their physical attributes. So, for example, if your error text is red, do not call the class red. Instead, be more descriptive of the content. (more…)
Firebug for IE?
Now you can start accessing some of FireBug’s great features in other browsers, like Internet Explorer. (more…)
DIRECTORY_SEPARATOR is Useless!
The predefined PHP constant DIRECTORY_SEPARATOR is useless. (more…)
How desktop.ini saved me from myself
When working at “the triangle” we used junction points on windows to link to repositories that we needed to run the code base - but weren’t necessary for the project. (see creating junction points on windows with linkd.exe.) (more…)