Check Domain Name:
www.
   
  #1  
Old 10-11-2008, 03:45 AM
hwmrl hwmrl is offline
Registered User
 
Join Date: Oct 2008
Posts: 1
hwmrl is on a distinguished road
cURL

Hi, in phpinfo i have seen somthing like --with curl, so i assumed that curl is supported in freehosting, but i get error Call to undefined function curl_init(). I have somthing like this:
function curl_get_file_contents($URL)
{
$c = curl_init();
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($c, CURLOPT_URL, $URL);
$contents = curl_exec($c);
curl_close($c);

if ($contents) return $contents;
else return FALSE;
}

what could be wrong?
Reply With Quote
  #2  
Old 10-11-2008, 11:32 PM
Tyler's Avatar
Tyler Tyler is offline
Administrator
 
Join Date: Aug 2003
Location: Host Ultra
Posts: 3,772
Tyler is an unknown quantity at this point
You can't connect to outside servers on free hosting.
__________________
-Tyler
Host Ultra Account Services
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:21 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
 
 
HOME     ::     SIGNUP     ::     SUPPORT     ::     ABOUT US     ::     CONTACT     ::     LOGIN     ::     DOMAINS     ::     REPORT ABUSE

Host Ultra © 2001-2004. All Rights Reserved. full downloads