Downloads

 

Twitter API Fun

The other day I was looking through the twitter API docs trying to get inspiration for a side project. I was thinking about creating my own twitter library for PHP, but I wanted to do something quick and dirty, just to get my feet wet, and to see how others have implemented the API in [...]

New Tutorial: Integrating FUDforum

I have recently published the first part in a new series of tutorials which will look at integrating FUDforum into an existing site. Part 1 looks at how to create FUD accounts for existing users, and how to ‘notify’ FUD about things happening on your site. Basically introducing your site to FUD. Back Story It [...]

Variable Variables

It is a rare occurrence that I find an excuse to use variable variables, but when that situation arises they are not only helpful but also fun in a way. I have often heard beginning programmers say that they find the concept difficult to grasp. I believe the confusion doesn’t stem from understanding the concept [...]

Simple XSS Vulnerability

I was recently taking a small quiz in PHP as part of a job interview (by the way if anyone knows of a job opening for a telecommuting contractor, please let me know). One of the questions posed contained this piece of code which has been slightly modified for our use. <input type=”text” name=”order” value=”<?php echo $_POST['order']; ?>” [...]

More on Types…

Since I have neglected my blog this week I decided to write a small continuation of the discussion on Types in PHP. I was helping a fellow coder yesterday, and he was having problems with a simple comparison statement. The situation he found himself in was this: A $_POST value could either be 0 (zero) [...]

Variable Types – Why Care?

We have all heard PHP is a loosely typed language. If you are unsure of the meaning of the term “loosely typed” the definition in the PHP manual states (at least for our discussion): PHP – Manual The type of a variable is usually not set by the programmer; rather, it is decided at runtime [...]

Improve the web with Nofollow Reciprocity.