Re: Send data Header Response

From: Date: Thu, 06 Nov 2003 20:17:59 +0000
Subject: Re: Send data Header Response
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-168765@lists.php.net to get a copy of this message
--- Jonathan Villa <jvilla@isdesigndev.com> wrote: > 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); > > or something to that effect... > > If I can't do this, what options do I have? $_POST is an array. You can serialize it, if you want to send it as one variable, or you can send each POST variable as a separate URL variable. Hope that helps. Chris ===== My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp

« previous php.general (#168765) next »