Reply to Automatically create form containing all POST variables?

Your name:

Reply:


Posted by John Geddes on 06/12/07 07:23

Is there a simple way to have a php page create anew form containing
the full set of POST variables received from submitting the previous
page - without knowing what the names of the fields will be or how
many there will be?

I am developing a page which normally self-submits (ie the form submit
action points to $_SERVER['PHP_SELF']). That is working fine, BUT if
the user has dawdled a long time on the page, I will need to route the
submit via a re-log-in page - without losing the update data that is
held in the form variables. The re-log-in page would then submit its
form data back to the main page as if it had self-referred (with the
difference that the login data at the server will have been refreshed)

I know I could use use php to hard-code each POST variable that the re-
login page will receive - but I rather suspect there is an easier way.

Suggestions, please

John Geddes

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация