RE: $_POST in header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
i have a PHP page with a form.
when user click on submit button, it sends form data to itself (so it
sends
data $_POST to itself).
i would like to access to header itself to reset those $_POST data to
avoid
(in case of F5 under windows system) to resend the same data serveral
time.
therefore how can i get the header data and change them ?[/snip]


That is not really a good way to handle it. Use session data and check
if the data exists for the submission...if it does do nothing with the
data, if it doesn't you can process normally. And always sanitize user
input!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux