Jump to content

redefining $_POST variables


spikeon

Recommended Posts

 

now, the question is:

 

why does GET work and POST not work?

 

foreach($_GET as $key => $stuff){
$_GET['$key'] = clean($stuff);
}
foreach($_POST as $key => $stuff){
$_POST['$key'] = clean($stuff);
}

 

 

 

since this is different from the origional pos't question.

 

why does POST just blank out the variable, while GET redefines it?

Link to comment
https://forums.phpfreaks.com/topic/94995-redefining-_post-variables/
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.