php - Refresh with POST data -
i using next php
header("refresh: 0;url=thankyou.htm");
i want add together hidden variable refresh must add together like.....
<input type=hidden name='varname' value="<?php echo $variable;?>">
how can post hidden variable refresh page?
how can these combined?
thanks
i don't know if it's secret plenty encrypt variable , send $_get
:
header("refresh: 0;url=thankyou.htm?varname=".base64_encode($_post['varname']));
on thankyou.htm
page have base64_decode()
value back.
using session
work behind scenes "most secret" @riad suggests.
php post refresh hidden-field
No comments:
Post a Comment