Simulating a POST request
am 28.06.2003 07:34:58 von Ludwig Lim
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
Re: Simulating a POST request
am 28.06.2003 21:09:08 von David Busby
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"
To: "PostgreSQL Mailing List"
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
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html
Re: Simulating a POST request
am 30.06.2003 14:25:51 von Scott Marlowe
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
tag at
the top, and a form with all the data you need in hidden fields and a post
method.
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster