Blog Archives: Page 81
-
April Fools! Change Your PHP Pages to ASP…Or Not
I don't know a lot of PHP developers that think very much of ASP. This, of course, sets the stage for a great April fools trick: we're going to change all of the links on our website from ".php" to ".asp" and see how many coworkers we can confuse the hell out of. Granted, most developers with a just few years of experience would figure out the method within a few minutes, but you can probably get the noob with this one.
-
Does Open Source Mean You Can’t Bitch?
You didn't pay for it. You didn't have to steal it. You didn't need to search hard to find it. And you probably didn't contribute. It's there, free for you to have at no monetary cost. Is the true cost of using open source software the fact that you can't bitch about what you've been given? Is it acceptable to be unsatisfied with the software?
-
Weekend Links – AJAX ASCII Art, Website Evolution, FlexiGrid jQuery, IE CSS Compatibility, jQuery File Tree, PHP Logging Class
Lets be honest: ASCII is truly on of the coolest accomplishments in programming history. Combined with AJAX, it's even better.
-
Creating a JavaScript “Set As Homepage” Link
The unfortunate part about creating websites for customers is that no matter what recommendation I make, if they want it, I have to give it. Thus is the case with recently adding a "Set As Homepage" link to a customer's website. Homepages are much more useful to the user when they're set to Google, Yahoo!, another portal, or they're webmail. To each their own, I guess, so here's how you create a "Set As Hompage" link using JavaScript.
-
Using MooTools For Opacity
Although it's possible to achieve opacity using CSS, the hacks involved aren't pretty. If you're using the MooTools JavaScript library, opacity is as easy as using an element's "set" method. The following MooTools snippet takes every image with the "opacity" class and sets the element's opacity based upon the number in the image's rel tag. MooTools 1.2 is required.
-
CSS Image Filters in Internet Explorer
Internet Explorer provides for some really interesting CSS image effects. Of course, these effects are useless in any other browser (just how Microsoft intended) but they should be used like any other browser-dependent functionality — used as enhancements only.
-
Watch Your POST: Save PHP POST Data as XML
One of my main goals when creating PHP web forms is to keep them secure and protected from spammers and automated bots. With the amount of spam that Akismet catches every day, I don't need to be reminded of the importance of securing forms. Since 90+% of my forms are POST transmissions, I've taken a lot of time to develop POST debugging and listening code.
-
Not Only Updates, But Enhancements! Any Ideas?
I've been updating the website over the last couple of weeks and I'm not quite done yet, but I wanted to share with you what I've enhanced on the blog and see if you have any ideas for me.
-
Weekend Links – Facebook Instant Messenger, Developer’s Work Environment, CSS Lists, MooTools Snippely, Regular Expressions
I think Facebook IM could take a huge chunk of AOL's IM users, especially the younger crowd. AOL really has nothing to integrate with, while integrating Facebook IM with their profiles service could be extremely useful. Leaving AIM wont break my heart.
-
Set Up Your WordPress Blog To Allow Trackback Toggling
One aspect of WordPress I dislike is that trackbacks display as a comment with the rest of a post's comments. Trackbacks are a nuisance when there's a great conversation going within the post's comments. Some users, however, love trackbacks so I can't simply get rid of them. I know there are plugins available to separate trackbacks from post comments, but I've chosen a different approach.