Re: Simulating a POST request

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Ludwig Lim <lud_nowhere_man(at)yahoo(dot)com>
Cc: PostgreSQL Mailing List <pgsql-php(at)postgresql(dot)org>
Subject: Re: Simulating a POST request
Date: 2003-06-30 12:25:51
Message-ID: Pine.LNX.4.33.0306300624500.13665-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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.

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Michael Hanna 2003-06-30 16:16:46 PHP form Creates Blank DB entries
Previous Message Cornelia Boenigk 2003-06-29 12:10:31 Re: blobs didn't work??