You are here: Request variables and redirection « All PHP « IT news, forums, messages
Request variables and redirection

Posted by wisebede on 06/09/06 14:40

Hello. I've got a PHP page with a form. When the form submits, it
submits back to the same page for validation. If validation passes, I
want to redirect to one of several pages depending on which option was
chosen.

That works fine, but I also want the details on the form to be
available to the $_POST requests on the receiving pages. Now I had
expected the a header redirect would make the request variables
available to the next page too, but that doesn't seem to happen. The
request variables are cleaned out. Is that correct, and is there a way
to pass the form details on to the receiving page? (I could use a
session I suppose, but that would mean having to copy the form
variables out of the form and into a session variable. I don't want to
explicitly do that unless I have to).

Thanks for any help at all,

Matt.
Manchester, UK.

 

Navigation:

[Reply to this 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

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