shops\Henson&Hedges
or
shops\Henson%26Hedges (when urlencode() used)
The parameters are both cut of after "Henson"
Is there a way to get the paramaters trough the CMS ?

Code: Select all
<?php
function ParseToPrettyString($string)
{
// filteren speciale letters
$string = strtr($string,"ŠŒŽšœžŸ¥µÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿ","SOZsozYYuAAAAAAACEEEEIIIIDNOOOOOOUUUUYsaaaaaaaceeeeiiiionoooooouuuuyy");
// filteren url encodings
$string = preg_replace('#\b\%\d.(|\b)#u', '', $string);
// url encode op andere specialae tekens
$string = urlencode($string);
// filteren url encodings en veranderen in +
$string = preg_replace('#\b\%\d.(|\b)#u', '+', $string);
// filteren op meer opeenvolgende +
$string = preg_replace('#\b\+\++(|\b)#u', '+', $string);
return $string;
}
?>