Re: Send data Header Response
| From: | Jonathan Villa | Date: | Thu, 06 Nov 2003 20:27:02 +0000 |
| Subject: | Re: Send data Header Response | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168768@lists.php.net to get a copy of this message | ||
Thanks, I'll look into that.
On Thu, 2003-11-06 at 14:31, CPT John W. Holmes wrote:
> From: "Jonathan Villa" <jvilla@isdesigndev.com>
>
> > I would like submit a form to a page, do some processing on that page,
> > then if need be, return to the referrer but also send the submitted data
> > along with it... and data is coming from a POST form, not a GET. I
> > tried
> >
> > header('location:'.$referrer.'?data'.$_POST);
>
> Can you send the data back to the referrer as GET data (in the URL)?
>
> If you must POST it back to the referrer, then you'll need cURL or search
> the archives for a function called posttohost() (not a core php function,
> btw).
>
> ---John Holmes...