[PHP] returning results of cURL POST

2003-02-08 Thread Lowell Allen
I'm using cURL to POST form fields to a PHP script on a different server that does a database insertion. I know the POST is working, because the values are being inserted into the database. But I want to return results from the remote server so I can tell if the insert was *not* done. Here's the

Re: [PHP] returning results of cURL POST

2003-02-08 Thread Lowell Allen
From: Lowell Allen [EMAIL PROTECTED] [snip] // check cURL results if ((trim($curl_results) != 1) || (trim($curl_results) != 0)) { // maybe nothing returned, bail out echo(pCan't confirm results of attempt to add to database!/p\n); exit; } I knew I'd find a stupid mistake as soon as I