Re: Is it possible to POST from PHP? [cURL?]
| From: | Richard Lynch | Date: | Wed, 13 Dec 2000 04:00:37 +0000 |
| Subject: | Re: Is it possible to POST from PHP? [cURL?] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30014@lists.php.net to get a copy of this message | ||
You only need cURL if you are posting to a secure (SSL) server.
Otherwise, dig out the old "PostToHost" function Rasmus wrote long ago, or
the class that Manuel Lemos built out of that.
----- Original Message -----
From: "JB" <jbeebe@aimsmarketing.com>
Newsgroups: php.general
Sent: Tuesday, December 12, 2000 3:57 PM
Subject: [PHP] Is it possible to POST from PHP? [cURL?]
Ok, my question first started as another thread, and now I need to solve
this problem. Is there any way to send a POST request to a URL from PHP? Joe
Stump recommended that I look at cURL. In fact it does allow post, however
from the best of my reading it requires I recompile PHP with cURL. Is this
outdated, does php4 come with curl functions built in? Because of the fact
that I would need to recompile PHP, and that I could not find any helpful
documentation on POSTing with cURL, I am begging that someone knows a slick
way of POSTing to a script through PHP without cURL. If PHP now has builtin
support for cURL, anyone have any snipets of code for posting with it?
Thanks a billion.
Jason