Jump to content

urldecode() all POST


Huijari

Recommended Posts

So I have code:

 

foreach($_REQUEST as $var => $value)
{
echo '&' . $var . '=' . $value . "&";
}

 

I would need to to do urldecode() to all REQUEST (posted variables)

How would I do it?

 

Because my url is: http://www.finsite.net/testi/example1/example2/get_level.php?levelcode2=%26var1%3D403%26var2%3D254%26varname%3Dvariable

 

And I need to get those vars in php. Have to put somekind of code urldecode(_REQUEST) all requests...

Link to comment
https://forums.phpfreaks.com/topic/205089-urldecode-all-post/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.