You are here: Re: CURL: Result on console and in PHP are different « PHP Programming Language « IT news, forums, messages
Re: CURL: Result on console and in PHP are different

Posted by Jerry Stuckle on 10/31/07 11:19

Paul van Brouwershaven wrote:
> On Oct 31, 11:58 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> Sorry, I misunderstood your question.
> No problem
>
>> What do you get for the results from curl_init()?
> "$result = curl_exec ($ch);" results noting
> "$ch = curl_init();" results "Resource id #26"
>
>

OK, so it initializes ok - but the execution fails. So the results
should be in curl_error() and curl_errno().

I should know not to answer these things before my first pot of coffee! :-)

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация