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 [...]
http://renownedmedia.com/blog/read-get-url-variables-using-javascript/
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; [...]
http://renownedmedia.com/blog/zend-certified-engineer-zce-study-guide-links/
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 [...]
http://renownedmedia.com/blog/php-curl-replacement/
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.
http://renownedmedia.com/blog/flash-not-loading-data-from-external-domains/
How to get foreign characters, including Japanese, Chinese, and other high unicode characters, to display properly in Internet Explorer 8.
http://renownedmedia.com/blog/chinese-characters-not-displaying-in-internet-explorer-8/
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 [...]
http://renownedmedia.com/blog/accessing-codeigniter-session-data-using-external-scripts/
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? [...]
http://renownedmedia.com/blog/firefox-web-developer-toolbar-equivalent-for-internet-explorer/
How to change your php.ini settings on your MediaTemple account to prevent your sessions from randomly expiring.
http://renownedmedia.com/blog/random-session-timeouts-on-mediatemple/
Article on how to configure your TortoiseSVN client to access MediaTemple’s subversion repositories.
http://renownedmedia.com/blog/using-tortoisesvn-with-mediatemple-subversion/
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.
http://renownedmedia.com/blog/codeigniter-htaccess-for-mediatemple/