/**
  * Parse the given url into an associative array with [key = paramName]=>[value = paramValue}
  * @param string $url the url to parse
  * @param boolean $fromHtml if the url comes from an HTML formatted string
  * @param boolean $includeGETVars if we should include the GET vars in our string parsing
  * @return assocative array
  * @access public
  */
 function parse($url)
 {
     //deleting parameters we don't need. We could avoid this.....
     if (($pos = strpos($url, '?')) !== false) {
         $url = substr($url, 0, $pos);
     }
     switch ($GLOBALS['COPIX']['CONFIG']->significant_url_mode) {
         case 'none':
             //$vars = array ();
             if (isset($_REQUEST['module']) && $_REQUEST['module'] === '_') {
                 $_REQUEST['module'] = '';
             }
             return $_REQUEST;
             break;
         case 'prependIIS':
             if (isset($_GET[$GLOBALS['COPIX']['CONFIG']->significant_url_prependIIS_path_key])) {
                 $url = $_GET[$GLOBALS['COPIX']['CONFIG']->significant_url_prependIIS_path_key];
                 $url = $GLOBALS['COPIX']['CONFIG']->stripslashes_prependIIS_path_key === true ? stripslashes($url) : $url;
             }
         case 'prepend':
             $vars = CopixUrl::_parsePrepend($url);
             break;
         default:
             trigger_error('Unknown significant url handler', E_USER_ERROR);
     }
     return array_merge($_REQUEST, $vars);
 }