Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   Manage torrent (http://www.bvlist.com/showthread.php?t=9658)

z3ro 2nd December 2013 22:56

Manage torrent
 
Hi all!

Please help!

Manage torrent imdb likns and image links not good error.

CURL error!

Thank you very much!

DND 2nd December 2013 23:03

a good idea would be to install curl and php-curl on your server, don't you think ? (if you don't have it installed)

firefly007 2nd December 2013 23:24

Quote:

Originally Posted by Raven (Post 43406)
Hi all!

Please help!

Manage torrent imdb likns and image links not good error.

CURL error!

Thank you very much!

Code:

sudo apt-get install curl
sudo apt-get install php5-curl


Create a new file called test.php and copy the code below code in and save then go to it http://yoursite.com/test.php
if you get bvlist then curl should be working

Code:


function get_data($url) {
    $ch = curl_init();
    $timeout = 5;
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $data = curl_exec($ch);
    curl_close($ch);
    return $data;
}
echo get_data('http://bvlist.com/template-shares/9658-manage-torrent.html#post43408');
?>


DND 2nd December 2013 23:57

I think we need to make them learn, not give them the exact answer. This way they'll never learn :):friend:

z3ro 3rd December 2013 00:04

Thanks
 
Quote:

Originally Posted by firefly007 (Post 43408)
Code:

sudo apt-get install curl
sudo apt-get install php5-curl

Create a new file called test.php and copy the code below code in and save then go to it http://yoursite.com/test.php
if you get bvlist then curl should be working

Code:


function get_data($url) {
    $ch = curl_init();
    $timeout = 5;
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $data = curl_exec($ch);
    curl_close($ch);
    return $data;
}
echo get_data('http://bvlist.com/template-shares/9658-manage-torrent.html#post43408');
?>


Thank you very much!

works

KrackerMan 3rd December 2013 07:13

Quote:

Originally Posted by DeNeDe (Post 43409)
I think we need to make them learn, not give them the exact answer. This way they'll never learn :):friend:

Wow are you really serious right now, he didn't do the work for him he provided the information he need to do it his self. Then again don't really expect much from you but smart remarks. I don't see anyone taking that attitude towards you when you ask questions over at u232 forum, and you even trying to build a tracker with free mods and sell to people. Mods that you have had to ask question about.


All times are GMT +2. The time now is 18:00.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.