On Dec 21, 2008, at 11:56 AM, Ted Roche wrote:

> On Sun, Dec 21, 2008 at 11:16 AM, Ken Kixmoeller/fh
> <[email protected]> wrote:
>
>> Thanks, Ted, -- Hang tight -- I think I found something ---
>
> OK, Ken...
>
> For anyone following, while Ken keeps me in suspense, here's a pointer
> to learn more about PHP and cURL:

Well, the deal is this: I was confused because curl_exec was  
returning TRUE instead of a resource. According to the documentation,  
when CURLOPT_RETURNTRANSFER is true, it is supposed to return a  
resource. And it is.

But the weird thing I discovered is that it was a false-true, I (be  
prepared to be amazed) actually had an error in my syntax, just a  
stupid, garden variety "use a variable that doesn't actually exist  
because you are a crappy typist" error. Nevertheless, curl_exec() was  
returning a TRUE. Weird thing #2 was that the server also wasn't  
returning any data error message. I guess it was telling me that it  
did, in fact pass a "virtual page" to the server, even though the  
page was devoid of actual information.

So, now the server and I are communicating, but the server is sending  
me back a very cryptic error message. (As if there is any other kind!  
Why do we do this to ourselves? It just takes a few more electrons to  
have an error message that actually *tells* a fellow traveler  
something useful.)

So, I am off to the server's site to see if there is anything more  
about the error than is in the Official Documentation, which ever-so- 
helpfully merely repeats the error message grouped among other  
"server messages." Why even bother writing such Official  
Documentation, and treat as if it were delivered by a chorus of  
angels?? </rant>

Ken


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/4575b1a6-8eea-4e69-a236-e42fe4beb...@information-architecture.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to