Well hers teh perl version of the the parser... how do i convert this to php $tmp = $ENV{'QUERY_STRING'}; @pairs = split(/&/, $tmp); foreach $item (@pairs) { ($key, $content) = split(/=/,$item,2); $content =~ tr/+/ /; $content =~ s/%(..)/pack("c",hex($1))/ge; $fields{$key} = $content; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] a general perl like pares of the query string... Aaron Moore
- [PHP] Re: a general perl like pares of the query strin... CC Zona
- Re: [PHP] Re: a general perl like pares of the que... Aaron Moore
- Re: [PHP] Re: a general perl like pares of the... Rasmus Lerdorf
- Re: [PHP] Re: a general perl like pares of the... Michael Kimsal
- Re: [PHP] Re: a general perl like pares of... Aaron Moore