简体   繁体   中英

php : repost the parameters

Is there a way in PHP to repost 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).

不是单靠POST,而是你可以在page2.php上将每个POST变量复制到一个SESSION变量中,然后在page3.php中获取

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM