Adding security to CodeIgniter forms with a custom library class Comments (1)
by Wez Pyke - December 16, 2009 in PHP,Text Tutorials

The class that we are going to create within CI will simply add a math question that the user will have to enter correctly to continue. This is useful to stop bots from mass submitting information to your forms.

The class we are going to write is only very short and simple, but it will give you an idea of how to create classes for your own projects.

Creating the new class

First of all we need to create the file for the class, navigate to libraries then create a file called math_question.php.

All we are going to do within this class is generate two random numbers that will be added together.
(more...)

jQuery Form Validation Comments (0)
by Wez Pyke - June 30, 2009 in Video Tutorials

Create a form that requires the user to enter both a username and password. If the username field or password field is left blank then a message will be displayed.

jQuery #1 Comments (0)
by Wez Pyke - June 28, 2009 in Video Tutorials

Learn how to use the animate function within the jQuery library to create an effect similar to the table of contents for the table of contents on codeigniter.com.

Blip.tv Link

(more...)

Creating a WordPress plugin Comments (32)
by Wez Pyke - November 21, 2008 in PHP,Text Tutorials

The plugin that I'm going to show you how to create within this post is a plugin that I created for MakeUseOf.

Creating plugins for WP is relatively easy and uses actions to call functions that are included in pages within the main WP files. To learn more about creating plugins for WP go here.

Ok so lets get started with creating the plugin.

When creating a plugin for WP make sure that you include your own unique word or acronym to your functions so that they don't conflict with any other plugins that may be installed.

Because I created this for MakeUseOf the acronym I use is MUO and then AF because I named the plugin author footer so every function within this plugin begins with MUO_AF.
(more...)

Installing Brushes in Photoshop Comments (0)
by Wez Pyke - June 14, 2008 in Photoshop

Increase Window Height and Width in Visual Basic Comments (0)
by Wez Pyke - June 5, 2008 in Visual Basic

Sliders in Cocoa/Objective C Xcode Comments (1)
by Wez Pyke - April 18, 2008 in Cocoa/Objective-C

A video tutorial showing the basics of cocoa/objective c and how to get the value of a slider.