Re: Send data Header Response
| From: | CPT John W. Holmes | Date: | Thu, 06 Nov 2003 20:31:36 +0000 |
| Subject: | Re: Send data Header Response | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168771@lists.php.net to get a copy of this message | ||
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...