Re: Manually make a POST request?



On Oct 29, 7:56 pm, 703designs <thomasmal...@xxxxxxxxx> wrote:
Unless Curl isn't installed, of course. On most servers, this is fine,
but I'm stuck developing on a Windows box right now. I'm tinkering
with socket functions, and I could always use this utility function:http://www.jonasjohn.de/snippets/php/post-request.htm

Thomas

On Oct 29, 2:40 pm, FutureShock <futuresho...@xxxxxxx> wrote:

703designs wrote:
I'm writing a little Drupal module that implements a couple forms,
relaying the submitted values to a third-party site. I know the target
URL and I have all of the values that I want to submit with the POST
request, so how can I invoke this request directly from a PHP script?

I am not 100% on this but I think it can be accomplished with 'curl'.

http://us2.php.net/curl

Let me know if that works for you.

Scotty



You should be able to use the curl extension on a Windows box.
.



Relevant Pages

  • Re: Eula being challenged
    ... what's the difference from Windows in these regards? ... line in Windows and opening a terminal window in Linux? ... Since the kernel went modular this is less and less of an issue. ... kernel and tinkering with Windows OS in some cases? ...
    (microsoft.public.windowsxp.general)
  • Re: I cant log into anything. Help!
    ... In article, Raya says... ... I'm using OS Windows 98 and i've tried ... > every kind of tinkering i can think of to fix this, ...
    (microsoft.public.internet.mail)
  • Re: OT: Apple ROOLZ!!!!!
    ... from the competition, i.e., they will only get better in a competitive ... Windows and Linux (as well as ... Unix at work). ... knowledgeable about tinkering with their OS would prefer Windows, ...
    (rec.music.makers.percussion)
  • Re: My new PC opens MS iexplorer twice!
    ... Firefox would meet those criteria ... I've been using Windows long enough to realise it is a very stable system. ... I use both Windows and various flavours of Linux. ... when I'm tinkering with Windows ...
    (uk.comp.homebuilt)
  • I cant log into anything. Help!
    ... I'm using OS Windows 98 and i've tried ... every kind of tinkering i can think of to fix this, ... purchase something on e-bay, i don't get the page until ...
    (microsoft.public.internet.mail)