NYCPHP Meetup

NYPHP.org

[nycphp-talk] Repost Post Vars

Jeff jsiegel1 at optonline.net
Wed Sep 17 16:50:50 EDT 2003


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




More information about the talk mailing list