FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


CURL





PMK-Bear
So, frih's phpinfo (http://www.frihost.com/phpinfo.php) says cURL is active; though, when I do this:
http://blackbear.frihost.net/pya.php
that does the following:
Code:

   $ch = curl_init($url);

    curl_setopt ($ch, CURLOPT_POST, 1);
    curl_setopt ($ch, CURLOPT_POSTFIELDS, $reqData);
    ob_start();
    curl_exec($ch);
    $salida=ob_get_contents();
    ob_end_clean();
    curl_close ($ch);
   
   

it throws
Code:

Fatal error: Call to undefined function curl_init() in /home/pmkbear/public_html/pya.php on line 5

Which is really weird. What's going on? I'm trying to use cURL to upload (actually to login to youtube and obtain an upload url, as per their FAQ) youtube videos (with clientLogin and all, so technically no video will ever pass through frihost itself) from my website.
mathiaus
That file is on server 3. You are on VPS1 - http://frihost.net/phpinfo.php

It doesn't seem to have it configured.
rvec
I think it should be enabled. I'll ask Bondings to take a look.
PMK-Bear
I REALLY need it Sad

Any updates on curl support?
PMK-Bear
dude, I'd totally love any answers you could give me.
rvec
-close- I asked Bondings, he'll take a look.
Related topics
Curl and OpenSSL
cURL extensions?
Curl
cURL https
cURL extension to PHP
PHP cURL
Curl
Curl error
Admin : Does the PHP installed has CURL ?
cURL wat is it??
CURL Support ?
50fri$ Please help me with curl.
cURL - What is it ? And How it works ??
cURL and cron
cURL problems..
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.