MODx – Wayfinder Incorrect Order (menu index)

March 9th, 2010

If you’re using an older version of MySQL then the MODx Wayfinder snippet might fail to order your navigation correctly (regardless of your menu indexes). Here’s one solution.

Read - MODx – Wayfinder Incorrect Order (menu index)

Magento Admin (Dashboard) Login Not Working Locally

March 3rd, 2010

If you can’t log into Magento, when developing or testing locally, you will need to perform a few minor changes to have access to the Magento admin backend.

Read - Magento Admin (Dashboard) Login Not Working Locally

MODx – Include Page Content Snippet

November 5th, 2009

A quick and easy snippet to include a MODx page’s content in another page.

Read - MODx – Include Page Content Snippet

Recursive Directory Scan/Mapping PHP Function

October 15th, 2009

Here’s a quick and simple function I thought I’d share. It recursively scans and maps from a set directory to an array in PHP.

Read - Recursive Directory Scan/Mapping PHP Function

Determing Login State (MODx)

September 15th, 2009

I came to a bit of a road block when trying to determine whether a user is logged in or not with WebLoginPE on MODx. This is a quick and dirty snippet for determining a users login state.

Read - Determing Login State (MODx)

Changing MODx Managers Document Tree View Nodes

August 14th, 2009

A small niggle I found with MODx was the document tree view that’s displayed in the left hand side of the manager. It displays the “resources” title (aka the page title) which is bit confusing like shown below. After a quick browse through the source I changed it to display the resources alias.

Read - Changing MODx Managers Document Tree View Nodes

PHP URL Rewriting Without Apache and mod_rewrite

July 15th, 2009

Recently I was put in a situation where I had created a dynamic site that, prior to launch, needed Search Engine Friendly (SEF) URL’s. Without any admin access to the IIS server I was working on, no IIS modules/filters and extremely limited access in the control panel I came up with a method of URL rewriting purely in PHP without Apache and mod_rewrite.

Read - PHP URL Rewriting Without Apache and mod_rewrite

MD5 and SHA1 “Decrypting” with PHP / MySQL

June 30th, 2009

In this reference we’re going to look at how to “decrypt” (or more accurately “collide”) MD5 and SHA1 hashes by creating a resource of pre-hashed words.

Read - MD5 and SHA1 “Decrypting” with PHP / MySQL

SQL Injections: Introduction with PHP/MySQL

June 29th, 2009

Providing you know SQL you can perform SQL injections on websites that perform unescaped queries. In this reference we’ll use a hands on approach and start by performing our own basic injections based on website user input and then looking into prevention methods.

Read - SQL Injections: Introduction with PHP/MySQL

PHP DOM Document Class

May 17th, 2009

The PHP DOMDocument class in PHP allows you to manipulate HTML and XML files by getting elements, creating elements, validating pages, saving pages and more.

In this quick example we’ll use the DOM Document class to extract links from a remote page, something I’ve had to do recently.

Read - PHP DOM Document Class

Flex 3 with PHP

July 30th, 2008

I’ve recently started to develop with the Linux alpha version of Flex Builder and was looking around for a decent introduction for using Flex 3 with PHP. Unfortunately there was nothing basic and the majority of articles related to Flex 2 and simply didn’t work. So here is an article ground down to the bare basics.

Read - Flex 3 with PHP

Website Designed and maintained by Daniel Gibbs - Powered by WordPress - Copyright 2009