Archive for July, 2009

Okay, so yesterday I was attempting to finish a lovely page where an administrator can edit emails. I wanted to send the form variables in on submit, but since there are hidden forms due to java script displaying each one separately, I wanted the submit to function with AJAX. This worked fine and dandy until [...]


As I was so merrily going through the Mozilla documentation for creating a plugin here: https://developer.mozilla.org/en/Building_an_Extension, I was dumbfounded when I followed the directions, and didn’t see the “Hello, World” in my status bar. Why oh why Windows are you doing this to me? Well, I found that it was of course, by my own [...]


Posting a tweet couldn’t be any easier! In PHP you would use CURL to accomplish the same thing.

<cfhttp url="http://twitter.com/statuses/update.xml" method="post"
resolveurl="yes"
username="#username#"
password="#password#">
<cfhttpparam type="url" name="status" value="My API
Tweet!">
</cfhttp>

What’s going on?
Using the Twitter API documentation located here: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0update, you send in your username and password to the API URL. In this case, http://twitter.com/statuses/update.xml . After that [...]


As many of us know by now, it is never best to only validate fields with client side code. You must also validate on the server.
As I was writing code today for a multi-page form, I was trying to think of the best way to validate fields. Although the below is verbose and written [...]