Re: [PHP] Returning results

2010-10-21 Thread Jim Lucas
Daniel P. Brown wrote: On Wed, Oct 20, 2010 at 21:04, Bastien phps...@gmail.com wrote: Yeah, it's got a few downsides! The next app for the iPhone should be a modification to the spell-check to verify PHP functions in emails. +1 -- PHP General Mailing List (http://www.php.net/) To

[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