Hi

I am using curl function for getting data from another website. But when i use curl_exec($curl) it shows 'bool(false)' . why it happend so? Please help me..Thank you

Recommended Answers

All 2 Replies

If this is on your test system have you checked php.ini to see that Curl has been activated (extension=php_curl.dll has to be uncommented).

Can you show options that you set?
"false" means that, something go wrong. curl_error($resource) - will show last error

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.