How-to: Basic Chat App w/ PHP, jQuery & Ajax

Posted on July 24, 2012 by Jimmy K. in Projects, Tutorials.

One of my friends recently asked for assistance with a chat application he’s developing and, while his is a bit more robust than the one I set out to create, I decided to build one from the ground up to wrap my head around it. The code below took a few hours to compile, but [...]

 

Facebook Timeline Cover Dimensions & Template

Posted on April 30, 2012 by Jimmy K. in Resources.

Facebook Timeline Cover Dimensions The dimensions of Facebook Timeline covers is 851 pixels by 314 pixels. I know… it’s strange, but it’s best to not question the Facebook machine. Template, you say? I’m very meticulous regarding my Facebook and I like to tweak my Timeline over and over until it’s absolutely perfect. To combat this [...]

 

My Preferred XHTML Template

Posted on April 19, 2012 by Jimmy K. in Articles, Tutorials.

During my internet travels, I have gathered bits and pieces of code and have compiled my preferred XHTML template for starting new projects into this article for anyone looking for new tips and tricks. Some readers might agree with this article and some might disagree with it. In either case – that’s okay! Here it [...]

 

jQuery: AjaxRequest.js has been updated!

Posted on April 11, 2012 by Jimmy K. in Articles, Resources.

Ajax lets you make HTTP requests without having to reload the entire page and can be implemented in a variety of ways to improve the user experience. The most abundant use of Ajax that I’ve noticed is it’s use in chat applications. There is a method of creating Ajax requests using JavaScript alone, but the [...]

 

How-to: Fix Gmail displaying gaps between images.

Posted on April 10, 2012 by Jimmy K. in Articles, Tutorials.

An interesting thing happens to graphic emails when viewed with Gmail. Say you have a graphic email (click here for an example) that you sliced up because you want each piece to link to a different URL, then you piece them all back together using tables to make it look like it did before you sliced [...]

 

How-to: Set up Google Apps for your domain.

Posted on April 5, 2012 by Jimmy K. in Articles, Resources, Tutorials.

Step 1: Sign up for Google Apps. By signing up for the free version of Google Apps, you are allowed to create up to 10 accounts without paying anything. Ignore the shouts for the $5 Google Apps Business plan – we just want the free stuff. Here is the link for the free version of [...]

 

Free Animated Loading Icons

Posted on March 12, 2012 by Jimmy K. in Resources.

I created some loading icons for my projects and liked them so much that I thought I would share them with the rest of the internet. So… here ya go! This set contains 11 animated icons in both GIF and SWF format. I originally built them in Flash at 200×200-pixels each, but plan on recreating [...]

 

PHP: Check if an email address exists.

Posted on March 9, 2012 by Jimmy K. in Tutorials.

As some of you may know, I built and run a small email marketing application. Some of our clients’ lists are as old as dirt, so one of the services we provide is a simple test to determine whether or not an email address actually exists. This function goes through all the normal steps of [...]

 

PHP: Detect the user’s operating system.

Posted on March 9, 2012 by Jimmy K. in Tutorials.

I wrote this function as a companion to my jDetectBrowserType() function. I rarely need to use it, but it’s good to have in your arsenal just in case. This function will return the user’s operating system as a string and supports the most popular desktop and mobile operating systems. An example of this function can [...]

 

PHP: Detect the user’s browser type.

Posted on March 9, 2012 by Jimmy K. in Tutorials.

At some point you may need to know the user’s browser type to handle browser-specific events. Most likely, this information will be used to determine which CSS properties you can use to make a web page display the same across all browsers. This function will return the user’s browser type as a string. In the [...]

 

PHP: Create zip files using ZipArchive.

Posted on February 21, 2012 by Jimmy K. in Tutorials.

PHP has a pretty neat built-in class called ZipArchive that lets you create zip files on a web server at run-time. In a recent update to the END[SEVEN] Cloud, I completely automated the packaging process for downloadable class files and examples using the ZipArchive class. How to use this function: This function accepts an array [...]

 

AS3: FLVPlayer v1.3 Released!

Posted on February 15, 2012 by Jimmy K. in Projects.

It’s been quite a long time since I worked on this project so I figured it was about time to give it a complete programming overhaul. I stripped out a bunch of unnecessary methods; optimized the remaining methods; removed the licensing feature; and added the ability to use your own skins. No more licensing or [...]

 

PHP: WonkyMail class for sending email.

Posted on January 10, 2012 by Jimmy K. in Projects, Tutorials.

This class has been four years in the making. It started as a very simple script when someone asked me to create a way to send email messages between users on their website. Over time, more features were added until it ultimately became what it is today. This class presently supports multiple file attachments, multiple [...]

 

PHP: Calculate a person’s age.

Posted on January 9, 2012 by Jimmy K. in Tutorials.

Sometimes you’ll need to calculate an age. It could be the age of a member on your website… It could be your cat. Either way, this can be useful for a variety of reasons such as personalized messages, criteria-based marketing or any functionality that is based on age demographics. I’ve seen a few different versions [...]

 

PHP: Implode an array into a readable format.

Posted on January 9, 2012 by Jimmy K. in Tutorials.

I was recently asked to write a function that implodes a list of items in an array into a human-readable list. For example, [[0] => “Jimmy”, [1] => “Ryan”, [2] => “Ken”, [3] => “Barbie”] would become “Jimmy, Ryan, Ken and Barbie” and [[0] => “apple”, [1] => “banana”] would become “apple and banana”. This [...]