Read GET URL variables using JavaScript

No Comments
Javascript Tutorials

Here is a function which will either build an associative array of the GET URL variables on the current page, or return the value of a specified GET variable in JavaScript: function getUrlVar(requestedKey) { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf(‘?’) + 1).split(‘&’);

for (var i = 0; i < hashes.length; i++) { hash = hashes[i].split(‘=’); vars.push(hash[0]); vars[hash[0]] = hash[1]; } if [...]

Zend Certified Engineer (ZCE) Study Guide Links

No Comments
PHP Tutorials, Uncategorized

Since I will be taking the ZCE exam in four days, I figured I’d post a study guide for the world while doing last minute studying. Enjoy! PHP Basics

Syntax | WikiPedia Operators | W3Schools Variables | Further Reading Constants | Official Reading Control Structures | Official Reading Language Constructs and Functions | Further Reading

Object Oriented Programming

Instantiation – $classInstance = New classname; [...]

PHP cURL Replacement

No Comments
Uncategorized

If you are a PHP developer who writes a lot of software which needs to be executed in many different shared hosts, it can often be frustrating when certain hosts don’t offer all of the functionality your applications require, specificially the cURL libraries. I’ve seen these missing on several hosts, either for security reasons or for [...]

Flash not loading data from external domains

No Comments
Flash Tutorials

Are you having issues loading files from external domains to be used on a separate domain? Adobe changed the way flash works about two versions ago and introduced stricter security settings, specifically the use of crossdomain.xml files. Unlike AJAX XHR requests which allow no cross domain communications, flash allows the use of this security file which blacklists and whitelists external domains.

Chinese Characters not displaying in Internet Explorer 8

No Comments
HTML Tutorials

How to get foreign characters, including Japanese, Chinese, and other high unicode characters, to display properly in Internet Explorer 8.

Accessing CodeIgniter Session Data using External Scripts

No Comments
Uncategorized

For a project we’re working on, we have the need to access CodeIgniter session data outside of our CI installation, more specifically for a WordPress installation. CodeIgniter, as most developers should already know, stores it’s session data in a database and uses a cookie to refer to the data, as opposed to storing this data [...]

Firefox Web Developer Toolbar Equivalent for Internet Explorer

No Comments
Uncategorized

I recently found this tool for the Internet Explorer 7, which behaves like a mashup between the two Firefox tools, Web Developer Toolbar and Firebug. It doesn’t appear to be as powerful as the two, but it does provide a nice amount of web developing goodies for the browser. Do you have Internet Explorer 8 installed? [...]

Random Session Timeouts on MediaTemple

No Comments
Uncategorized

How to change your php.ini settings on your MediaTemple account to prevent your sessions from randomly expiring.

Using TortoiseSVN with MediaTemple Subversion

No Comments
Uncategorized

Article on how to configure your TortoiseSVN client to access MediaTemple’s subversion repositories.

CodeIgniter .htaccess for MediaTemple

No Comments
Uncategorized

A few tweaks need to be made to CodeIgniter to make it compatible with the MediaTemple hosting environment. This article discusses these required changes to get CI running smoothly.