URL Parser in php for Azure Website