From: David Busby <busby@pnts.com>
To: Ludwig Lim <lud_nowhere_man@yahoo.com>
To: PostgreSQL Mailing List <pgsql-php@postgresql.org>
Subject: Re: Simulating a POST request
Date: Sat, 28 Jun 2003 12:09:08 -0700
Message-ID: <003d01c33da8$c8705170$1100000a@busbydev> (raw)
References: <20030628053458.36095.qmail@web80502.mail.yahoo.com>
header(); in PHP is for the output header.
It cannot be used to create a POST type HTTP request.
you must use socket(); or the CURL to have your PHP script do an HTTP POST
style request.
There are some samples on the PHP site in the socket and curl sections of
the manual.
HTH
/B
----- Original Message -----
From: "Ludwig Lim" <lud_nowhere_man@yahoo.com>
To: "PostgreSQL Mailing List" <pgsql-php@postgresql.org>
Sent: Friday, June 27, 2003 22:34
Subject: [PHP] Simulating a POST request
>
> Hi :
>
> How do I simulate a POST request using the
> "header()" function?
>
>
> Thank you very much.
>
> ludwig lim
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: busby@pnts.com, lud_nowhere_man@yahoo.com
Subject: Re: Simulating a POST request
In-Reply-To: <003d01c33da8$c8705170$1100000a@busbydev>
References: <20030628053458.36095.qmail@web80502.mail.yahoo.com> <003d01c33da8$c8705170$1100000a@busbydev>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox