Thread
:
Sending Forms with GET variables from other forms
View Single Post
Feb 26th, 2008, 7:56 AM
#
3
Ooble
I eat cake for breakfast.
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power:
9
Re: Sending Forms with GET variables from other forms
Little tip: never just chuck out unescaped user input. Try this:
(
Toggle Plain Text
)
<input type="hidden" name="action" value="<?php echo htmlspecialchars($_GET['action']) ?>" />
<input type="hidden" name="action" value="<?php echo htmlspecialchars($_GET['action']) ?>" />
__________________
Me
::
You
::
Them
Ooble
View Public Profile
Visit Ooble's homepage!
Find More Posts by Ooble