RE: How to submit form via PHP

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

 



> -----Original Message-----
> From: pe.ve.ce@xxxxxxxxx [mailto:pe.ve.ce@xxxxxxxxx]
> Sent: Friday, August 15, 2008 2:54 PM
> To: php-general@xxxxxxxxxxxxx
> Subject: RE:  How to submit form via PHP
> 
> Thanks, that was what I needed. Also I found this:
> http://curl.haxx.se/libcurl/php/examples/./simplepost.html. Is it
> somehow possible to retrieve result of that operation?
> 
> Thanks in advance.
> 
> Matěj "czech_d3v3l0pr" Grabovský

I believe:

	curl_setopt(CURLOPT_RETURNTRANSFER, true);
	$result = curl_exec($ch);

...will send the output from cURL to the variable rather than the web browser/screen.


Todd Boyd
Web Programmer




-- 
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