RE: [PHP] How to submit form via PHP

From: Date: Fri, 15 Aug 2008 20:42:30 +0000
Subject: RE: [PHP] How to submit form via PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-278200@lists.php.net to get a copy of this message
> -----Original Message----- > From: pe.ve.ce@seznam.cz [mailto:pe.ve.ce@seznam.cz] > Sent: Friday, August 15, 2008 2:54 PM > To: php-general@lists.php.net > Subject: RE: [PHP] 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

« previous php.general (#278200) next »