开发者

php : repost the parameters

Is there a way in PHP to repost开发者_如何学JAVA all the $_POST variables without having to create hidden fields ?

page1.php has form with many form elements and post them to page2.php

page2.php reposts to page3.php without having to recreate all hidden fields


You can store the values in a session. page2.php sets them, page3.php reads them (and optionally deletes them).


Not through POST alone, but you could, on page2.php copy each of the POST variables into a SESSION variable which is then obtained in page3.php

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜