Thanks... but that is something I wanted to avoid.

If I put each POST var into the url, then it's as if I used a GET method
type...

If I serialize the array and pass it back in the URL, I get 

admin.login.php?data=a%3A3%3A%7Bs%3A8%3A%22username%22%3Bs%3A0%3A%22%22%3Bs%3A3%3A%22pwd%22%3Bs%3A7%3A%22asdfsad%22%3Bs%3A5%3A%22login%22%3Bs%3A5%3A%22login%22%3B%7D

after it's been urlencoded...and it still displays the values of the
fields...


On Thu, 2003-11-06 at 14:17, Chris Shiflett wrote:
> --- Jonathan Villa <[EMAIL PROTECTED]> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to