X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id EC6BB31040D for ; Sat, 28 Jun 2003 19:15:24 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 05917-09 for ; Sat, 28 Jun 2003 16:15:14 -0300 (ADT) Received: from seapdc01.PNTS (ip63.c216.blk1.bel.nwlink.com [209.20.216.63]) by svr1.postgresql.org (Postfix) with ESMTP id 29E7D3103F0 for ; Sat, 28 Jun 2003 16:15:13 -0300 (ADT) Received: from busbydev (BUSBY-DEV [10.0.0.17]) by seapdc01.PNTS with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id N2LV1CRM; Sat, 28 Jun 2003 12:30:07 -0700 Message-ID: <003d01c33da8$c8705170$1100000a@busbydev> Reply-To: "David Busby" From: "David Busby" To: "Ludwig Lim" , "PostgreSQL Mailing List" References: <20030628053458.36095.qmail@web80502.mail.yahoo.com> Subject: Re: Simulating a POST request Date: Sat, 28 Jun 2003 12:09:08 -0700 Organization: Pacific Northwest Ticket Service MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Archive-Number: 200306/33 X-Sequence-Number: 2097 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