Browsing the archives for the Uncategorized category

Read GET URL variables using JavaScript

No Comments
Uncategorized

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 [...]

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.

Enabling file_get_contents() and fopen() With Remote URL’s on MediaTemple

2 Comments
Server/Apache Tutorials, Uncategorized

How to enable access to remote files on MediaTemple using the functions file_get_contents() and fopen().

2010 Company Updates

No Comments
Uncategorized

One of our websites, batmancomic.info, recently became an internet phenomenon, and over the course of the last three days has had over 42,000 unique visitors. Unfortunately, this had the effect of taking down our entire shared host host server. Which leads us to the second half of this update!

We will be slowly moving all of [...]