Re: How do I pass variables from a PHP script to an HTML document?
| From: | Kurt Lieber | Date: | Wed, 05 Dec 2001 18:20:47 +0000 |
| Subject: | Re: How do I pass variables from a PHP script to an HTML document? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76756@lists.php.net to get a copy of this message | ||
On Wednesday 05 December 2001 10:00 am, you wrote:
> Alternatively, is there another way to pass variables
> from a PHP script to a HTML form where I won't run into this limit?
I'm not seeing why you have to redirect the user just to get a custom
response.
If you can instead use an include(); to customize your response, then you
don't have to worry about redirecting the user to a different page.
In other words, instead of doing this:
form --> PHP Script --> confirmation page
Just do:
form --> PHP Script
And have the PHP script format and output the confirmation page.
--kurt