Re: Simulating a POST request

From: "David Busby" <busby(at)pnts(dot)com>
To: "Ludwig Lim" <lud_nowhere_man(at)yahoo(dot)com>, "PostgreSQL Mailing List" <pgsql-php(at)postgresql(dot)org>
Subject: Re: Simulating a POST request
Date: 2003-06-28 19:09:08
Message-ID: 003d01c33da8$c8705170$1100000a@busbydev
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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(at)yahoo(dot)com>
To: "PostgreSQL Mailing List" <pgsql-php(at)postgresql(dot)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

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Eric Koh 2003-06-28 21:09:21 query not aborted upon connection aborted?
Previous Message Jeff 2003-06-28 14:36:17 Re: user authemtication with php/postgresql