Posted by : Chris London in (Programming, Tutorial)

How to Use GoTo in PHP, C, C++, Obj-C, Java, Perl, Python, Flash, Actionscript, Java or Javascript

Tagged Under : , , ,

Here is the secret to using GoTo in ANY programming language:

How to use GoTo

Yes, that’s right. You will be eaten by a raptor! So don’t use it!

Posted by : Chris London in (Programming, Tutorial)

Organizing PHP Includes with Autoload

Tagged Under : , , , ,

Since PHP5 was released, PHP programmers have been blessed with a decent support of object-oriented programming. With this ability many programmers have used classes in many if not all of their projects. A very common practice for OO programmers is to place each class in an includes folder. There have been many times when I have seen a config file full of includes and/or requires. They will include every class in their includes folder whether or not they use it in a particular script. This causes many unnecessary includes.

Read the rest of this entry »

Posted by : Chris London in (Programming, Scripts, Web Tricks)

Input Field Hinting

Tagged Under : , , , ,

This will show you how to include the Kwista Hint script which will allow you to generate automatic hints in your form’s input fields.  Automatic hints, by our definition, are input fields that contain predefined text in the field that provide the user with a hint as to what should be typed in the field.  These hints are usually gray, though the colors and font styles can be changed through CSS.  When the user focuses on the field (e.g., they click on it) the hint text is removed and the style of the text goes back to normal.  If the user doesn’t type anything in the field, or they erase what they type, and they click away from the field then the hint text is returned to the field.
Read the rest of this entry »