RE: [PHP] Sending a POST without submitting an HTML form
| From: | Jack Dempsey | Date: | Tue, 16 Oct 2001 06:59:45 +0000 |
| Subject: | RE: [PHP] Sending a POST without submitting an HTML form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71179@lists.php.net to get a copy of this message | ||
use sessions. easiest safest way...
-----Original Message-----
From: Henrik Hudson [mailto:lists@rhavenn.net]
Sent: Tuesday, October 16, 2001 2:56 AM
To: php-general@lists.php.net
Subject: [PHP] Sending a POST without submitting an HTML form
Hello List-
I have submitted some information via a form to a php script. If certian
variables are missing, etc... I want to send the user back to the original
form, but I also want to pass the original information back to that user
using HTTP and I can't use GET because I am going past the 256 character
limit.
I am trying to figure out how to send that information back to the original
form via the POST method and I think I should be using the header function,
but I don't know the type I want. I am already using header(Location: .....)
to send my user back to where they belong, but I can't figure out how to
pass
the information along with it.
Thanks for any tips and pointers.
Henrik
----
Henrik Hudson
lists@rhavenn.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net