NYCPHP Meetup

NYPHP.org

[nycphp-talk] Repost Post Vars

David Rydell drydell at worldnet.att.net
Wed Sep 17 17:04:51 EDT 2003


you might consider storing the $_POST array as a session variable...

-----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 4: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
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003




More information about the talk mailing list