Re: Simulating a POST request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx>
To: "PostgreSQL Mailing List" <pgsql-php@xxxxxxxxxxxxxx>
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



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux