[nycphp-talk] Repost Post Vars
jon baer
jonbaer at jonbaer.net
Wed Sep 17 15:53:37 EDT 2003
you would probably want to use sessions or the db then, or you can use
chris's php_post method along w/ ur previous content via something like ...
foreach($_POST as $key=>$value) {
echo $key."=".$value;
}
- jon
----- Original Message -----
From: "Jeff" <jsiegel1 at optonline.net>
To: <shiflett at php.net>; "'NYPHP Talk'" <talk at lists.nyphp.org>
Sent: Wednesday, September 17, 2003 4:50 PM
Subject: RE: [nycphp-talk] Repost Post Vars
> Hmmm...I wonder if it would be easier to just rethink how I'm handling
> things with multiple forms.
>
> Jeff Siegel
>
> -----Original Message-----
> From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
> On Behalf Of Chris Shiflett
> Sent: Wednesday, September 17, 2003 3:41 PM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] Repost Post Vars
>
>
> --- Jeff <jsiegel1 at optonline.net> wrote:
> > Is there a way to repost Post variables
>
> Yes.
>
> > i.e., pass along Post data, along with a header location change?
>
> No. :-)
>
> To perform a POST with PHP, you have can do it manually:
>
> http://shiflett.org/dev/php_post.phps
>
> or you can use PEAR's HTTP request class:
>
> http://shiflett.org/dev/pear_post.phps
>
> or you can use cURL, and for some reason I don't have an example for
> that.
>
> Please note that all of this code was written a long time ago and used
> to
> search php.net for cURL (I think that's why I didn't have an example for
> that).
> It should work fine or at least give you an idea of where to look.
>
> Hope that helps.
>
> Chris
>
> =====
> Become a better Web developer with the HTTP Developer's Handbook
> http://httphandbook.org/
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
More information about the talk
mailing list