Archive for the 'Intermediate' Category

This was tons of fun, in a few easy steps:
**NOTE: I am installing using CGI and not ISAPI

Download and unzip PHP package to desired PHP directory (eg: C:\PHP)
Add ‘;c:\PHP’ (or wherever you stored your PHP directory without quotes) to your PC Path. To get there go to “my computer” -> right click > properties > [...]


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 [...]


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 [...]


Ever have a textbox where a person needs to enter a number, and they enter something like… $24.56? Or even 45,898.68? I have. The worst is that I wasn’t working on a database I created, and I further needed the dollar entered to be a whole number – without changing a lot of stuff =). [...]


One of the sites that I frequent daily has an interesting take on URL’s. It is both something that I have grown to love and appreciate. After the end of each link, the domain that the link refers to is clearly printed. Why is this useful? Well, comments on a site or posts on a [...]