Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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 

In response to

pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group