RE: Submitting form without JavaScript

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

 



But if I do not have LIBCURL?


-----Original Message-----
From: Chris [mailto:dmagick@xxxxxxxxx] 
Sent: Monday, February 06, 2006 2:13 PM
To: Peter Lauri
Cc: php-general@xxxxxxxxxxxxx
Subject: Re:  Submitting form without JavaScript

Hi Peter,

Curl can do it.

http://www.php.net/curl

Peter Lauri wrote:
> Best mailing list member,
> 
> I have an external payment gateway provider (similar to PayPal) and need
to
> send POST variables to them to initiate the Payment Process.
> 
> Is there any function in PHP that can send POST variables to a URL without
> using <form> and then a javascript that submits it when the page is
loaded?
> 
> My dream is to have a function (or class) that would be used this way:
> 
> $url="url_to_submit_post_variables_to";
> $ps = new SubmitPost($url);
> $ps->addPostVar($name, $value);
> $ps->submitPost();
> 
> Anyone with ideas about this?
> 
> Best regards,
> Peter Lauri
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux