Results 1 to 15 of 18

Thread: Tutorial CCcamInfoPHP

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Old Member mondo's Avatar
    Join Date
    31 Jan 2007
    Location
    Romania
    Posts
    2,503
    Mentioned
    43 Post(s)
    Rep Power
    102

    Default Tutorial CCcamInfoPHP

    Pentru a vizualiza in totalitate traficul pe serverul CCcam aveti nevoie de:
    Wampserver de aici:
    http://www.wampserver.com/
    si de CCcamInfoPHPv0.8 de aici:
    http://rapidshare.com/files/78950344...P_v08.zip.html

    Instalare:
    -Instalati Wampserver in C:\wamp.
    -Extrageti arhiva CCcamInfoPHP_v0.8.zip in folderul C:\wamp\www

    Setari:
    Pentru a fi functional aveti nevoie de cateva setari:
    Intrati in C:\wamp\CCcamInfoPHP si editati cu notepad fisierul config.php astfel:

    <?php
    //---------------------------------------
    // CONFIG
    //---------------------------------------

    //examples of server definitions
    $CCCamWebInfo[] = array("ip dream","16001","user","pasword"); // for CCcam webinterface with user and pass
    $CCCamWebInfo[] = array("localhost","12345"); // for CCcam webinterface with different port than default and without user and pass
    $CCCamWebInfo[] = array("localhost"); // for CCcam webinterface with all defaults

    $work_path = ""; // set this if you want working folder separate // Example $work_path = "/tmp/";
    $update_from_button = true; // set to true if you want Update button ( usefull if update is from remote server and takes too long)
    $fullReshare = true; // shows maximum reshare if more than one route for same node // set to true to see actual reshare instead of YES/NO
    $country_whois = true; // use whois for country detection
    ?>

    Acum intram in C:\wamp\bin\apache\apache2.2.8\bin si editam fisierul php.ini astfel:

    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;

    max_execution_time = 300 ; Maximum execution time of each script, in seconds
    max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
    memory_limit = 24M ; Maximum amount of memory a script may consume (8MB)


    Daca ati facut totul cum trebuie:
    Porniti Wampserver si jos in dreapta pe monitorul PC-ului in taskbar va aparea o iconita.Dati click stanga pe iconita si in fereastra care va apare dati click pe localhost.Acolo aveti CCcamInfoPHP cu toate detaliile care va trebuiesc.

    Sper sa va fie de ajutor!Bafta!

  2. #2
    Standard RSP member
    Join Date
    09 Jun 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Rep Power
    0

    Default Re: Tutorial CCcamInfoPHP

    am facut ce zici tu mai sus, i-am pus in config.php linia asta

    $CCCamWebInfo[] = array("10.0.1.3","16001","root","blablabla")

    si in loc sa se duca in dream el se duce aici http://localhost/

  3. #3
    Old Member mondo's Avatar
    Join Date
    31 Jan 2007
    Location
    Romania
    Posts
    2,503
    Mentioned
    43 Post(s)
    Rep Power
    102

    Default Re: Tutorial CCcamInfoPHP

    In /var/etc/CCcam.cfg trebuie sa ai editate aceste linii:
    SERVER LISTEN PORT : 16001
    ALLOW WEBINFO: yes
    ALLOW TELNETINFO: yes
    WEBINFO USERNAME : usernamedreambox
    WEBINFO PASSWORD : passdreambox

    Ar mai fi ceva.Daca ai router ar fi bine sa schimbi IP Dream cu un IP din clasa celui care il ai la router.De exemplu daca la router ai ip 192.168.0.X la Dream ar trebui sa ai 192.168.0.XX.
    Last edited by mondo; 01-08-08 at 14:13.

  4. #4
    Standard RSP member
    Join Date
    09 Jun 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Rep Power
    0

    Default Re: Tutorial CCcamInfoPHP

    cred ca asta imi lipeseste, ce tb pus in cccam.cfg. IP-ul Dreamului e din aceeasi clasa cu routerele: primul router e 10.0.1.1. iar repetitorul, ce da net dream-ului, are 10.0.1.2...Dm-ul are 3

    Incerc diseara, acasa, sa modific cccam.cfg si vad ce iese

    Multam

  5. #5
    Standard RSP member
    Join Date
    09 Jun 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Rep Power
    0

    Default Re: Tutorial CCcamInfoPHP

    nashpa...am incercat si varianta asta si berila, in loc sa se duca la 10.0.1.3 se duce la http://localhost/

  6. #6
    Standard RSP member
    Join Date
    09 Jun 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Rep Power
    0

    Default Re: Tutorial CCcamInfoPHP

    Ok, am rezolvat, si nici n-am albit. Exista o varianta mai simpla, instalarea CardSharing Control 0.5 care are in el Apache, si se incarca automat odata cu programul, fara sa fie nevoie sa-l pornesti separat. Programul il gasiti pe net, dati cautare dupa CardSharing_Control_0.5_full_install.zip. Dupa instalare il deschideti si mai e nevoie de un pas, cel de care zicea si Mondo:

    //examples of server definitions
    $CCCamWebInfo[] = array("ip dream","16001","user","pasword"); // for CCcam webinterface with user and pass
    $CCCamWebInfo[] = array("localhost","12345"); // for CCcam webinterface with different port than default and without user and pass
    $CCCamWebInfo[] = array("localhost"); // for CCcam webinterface with all defaults

    $work_path = ""; // set this if you want working folder separate // Example $work_path = "/tmp/";
    $update_from_button = true; // set to true if you want Update button ( usefull if update is from remote server and takes too long)
    $fullReshare = true; // shows maximum reshare if more than one route for same node // set to true to see actual reshare instead of YES/NO
    $country_whois = true; // use whois for country detection
    ?>

    dupa ce salvati config.php totul ar trebui sa functioneze

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •