06-26-2008, 09:43 AM
|
#1 (permalink)
|
|
The Wanderer
Join Date: Apr 2008
Location: Cloud 9
Posts: 19
Thanks: 0
|
yet another curl question....
ok, I have this code:
Code:
$ch = curl_init('http://www.google.co.uk'); // the target
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // return the page
$result = curl_exec($ch); // executing the cURL
curl_close($ch); // Closing connection
echo $result;
Which I got from here:
TalkPHP - cURL Basics
Any ideas why I would end up with a blank screen? with no errors?
Do I need to configure something with the curl library or something?
I'm using php 5
Thanks
Jen
|
|
|
|