|
Posted by Toby A Inkster on 05/30/07 08:16
Fred!head wrote:
> However, I see the $_REQUEST array is junked up with lots of form
> values, some I've heard of (PHPSESSID) and other mystery keys (e.g.
> dbx-pagemeta, __utmz).
IIRC, "__utmz" is a cookie used by "Urchin", the stats package that was
bought by Google, and is now branded as "Google Stats" or some such.
An easy way to do what you wanted would be:
$my_request = $_REQUEST;
unset($my_request['__utmz']);
unset($my_request['PHPSESSID']);
unset($my_request['dbx-pagemeta']);
However, to me, it looks like all these unwanted values are cookies. You
might want to consider using $_GET or $_POST instead of $_REQUEST.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 95 days, 15:56.]
Non-Intuitive Surnames
http://tobyinkster.co.uk/blog/2007/05/25/non-intuitive-surnames/
Navigation:
[Reply to this message]
|