spikeon Posted March 8, 2008 Share Posted March 8, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/94995-redefining-_post-variables/ Share on other sites More sharing options...
spikeon Posted March 8, 2008 Author Share Posted March 8, 2008 ...is this too hard for people to do, or am i just ugly? Quote Link to comment https://forums.phpfreaks.com/topic/94995-redefining-_post-variables/#findComment-486652 Share on other sites More sharing options...
laffin Posted March 8, 2008 Share Posted March 8, 2008 why do u have quotes around the array keys? which are obviously a variable? Quote Link to comment https://forums.phpfreaks.com/topic/94995-redefining-_post-variables/#findComment-486707 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.