|
Posted by shotokan99 on 06/13/07 02:43
actually that's the major problem..because my hosting co. wont allow
me or won't edit the php.ini file. the main reason is we are on a
shared server. regarding curl i did try it using this code:
$curl_handle=curl_init();
curl_setopt($curl_handle,CURLOPT_URL,'$xurl');
curl_setopt($curl_handle,CURLOPT_CONNECTTIMEOUT,2);
curl_setopt($curl_handle,CURLOPT_RETURNTRANSFER,1);
$buffer = curl_exec($curl_handle);
curl_close($curl_handle);
if (empty($buffer))
{
print "Sorry - no content.<p>";
}
else
{
echo "<h1>HERE IS CONTENT:</h1><hr> $buffer";
}
still faild ;-)
is there something wrong with my code or simply it doesnt support curl
as well?
is there another workaround to attain my goal? some folks suggested i
try snoopy.
[Back to original message]
|