My Blog
contains PHP, Web and business/entrepreneurial related content. Please join in the conversation!
Monthly Archives: October 2008
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 … Continue reading
Firebug for IE?
Now you can start accessing some of FireBug’s great features in other browsers, like Internet Explorer. Check out FireBug Lite.
DIRECTORY_SEPARATOR is Useless!
The predefined PHP constant DIRECTORY_SEPARATOR is useless. When evaluated, the constant is as follows: *nix: / win: \ So, to the casual observer, there seems to be a real need for this constant – especially with those who favor the … Continue reading
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.) The problem … Continue reading
array_merge is useful – but with a caveat
So, the other day, I saw a horrible thing. I saw two PHP associative arrays that needed to be combined into one, and the worst example of NOT using PHP’s built in functions to combine them. They weren’t using array_merge … Continue reading
Ode to a MySpace Layout
*sigh* Things change… and so does MySpace. I had once written an article about how to create a great MySpace Layout – but it is somewhat out of date. I’m not sure if there is any interest in an updated … Continue reading
