Welcome Guest, Not a member yet? Register   Sign In
how to permit the "?" and "=" in the url ?
#7

[eluser]quasiperfect[/eluser]
@xwero what do u advice to use PATH_INFO,REQUEST_URI or ORIG_PATH_INFO ?
now i replaced with PATH_INFO and i replaced the uri lib with my modified version of the lib and it works
the only change i made to the lib is in _fetch_uri_string
i added
Code:
if (stripos($_SERVER['QUERY_STRI],'=')!== false)
{
$_SERVER['QUERY_STRI] = str_ireplace('//','/',preg_replace('/flashvar=[0-9]{4,8}/','',$_SERVER['QUERY_STRI]));
}
if (stripos($_SERVER['REDIRECT_QUERY_STRING'],'=')!== false)
{
$_SERVER['REDIRECT_QUERY_STRING'] = str_ireplace('//','/',preg_replace('/flashvar=[0-9]{4,8}/','',$_SERVER['REDIRECT_QUERY_STRING']));
}
if (stripos($_SERVER['REQUEST_URI'],'?flashvar=')!== false)
{
$_SERVER['REQUEST_URI'] = str_ireplace('//','/',preg_replace('/\?flashvar=[0-9]{4,8}/','',$_SERVER['REQUEST_URI']));
}


Messages In This Thread
how to permit the "?" and "=" in the url ? - by El Forum - 03-04-2009, 11:03 AM
how to permit the "?" and "=" in the url ? - by El Forum - 03-04-2009, 11:52 AM
how to permit the "?" and "=" in the url ? - by El Forum - 03-05-2009, 02:47 AM
how to permit the "?" and "=" in the url ? - by El Forum - 03-05-2009, 03:13 AM
how to permit the "?" and "=" in the url ? - by El Forum - 03-05-2009, 03:26 AM
how to permit the "?" and "=" in the url ? - by El Forum - 03-05-2009, 03:28 AM
how to permit the "?" and "=" in the url ? - by El Forum - 03-05-2009, 03:55 AM
how to permit the "?" and "=" in the url ? - by El Forum - 03-05-2009, 04:20 AM
how to permit the "?" and "=" in the url ? - by El Forum - 11-19-2010, 06:54 AM
how to permit the "?" and "=" in the url ? - by El Forum - 04-19-2012, 11:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB