Re: header redirect with POST?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jay,
Nice to see you ask a question for a change ;-)

Jay Blanchard wrote:

Good morning gurus,

Is it possible to have a form where I post variables to a processing
script which would then redirect to another form have variables posted
from the processing script? I am researching the HTTP header things as I
write this, but have not found a viable answer that is PHP only.


Unfortunately if you redirect with a POST the post data will not be forwarded to the second page it will be discarded. You will either have to add your important data to the query string or store them in the session.

If you are sending a lot of data, there is the possibility of opening a socket from your first script and making it post the data to the second.

best regards
raditha

Thanks!





--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux