From: scott.marlowe <scott.marlowe@ihs.com>
To: Ludwig Lim <lud_nowhere_man@yahoo.com>
Cc: PostgreSQL Mailing List <pgsql-php@postgresql.org>
Subject: Re: Simulating a POST request
Date: Mon, 30 Jun 2003 06:25:51 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0306300624500.13665-100000@css120.ihs.com> (raw)
In-Reply-To: <20030628053458.36095.qmail@web80502.mail.yahoo.com>
On Fri, 27 Jun 2003, Ludwig Lim wrote:
>
> Hi :
>
> How do I simulate a POST request using the
> "header()" function?
Are you basically trying to make the client side auto-submit a form? You
can do that easily enough, without the header() function.
Just build a form with a <body onload=document.formname.submit()> tag at
the top, and a form with all the data you need in hidden fields and a post
method.
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: scott.marlowe@ihs.com, lud_nowhere_man@yahoo.com
Subject: Re: Simulating a POST request
In-Reply-To: <Pine.LNX.4.33.0306300624500.13665-100000@css120.ihs.com>
References: <20030628053458.36095.qmail@web80502.mail.yahoo.com> <Pine.LNX.4.33.0306300624500.13665-100000@css120.ihs.com>
* 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