Jump to content

lanana

Members
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by lanana

  1. I would like to create a VOIP chat in real time (audio only) from pc to pc over internet, i know more than basic in ​​html5, php, javascript mysql mainly, but this is totally new to me(VOIP audio or call chat), I have no idea if it is possible to transmit audio in real time using those languages​​, if you could help me or know something about it would appreciate it, I've searched internet and but can´t find something that tells me a path.


    I appreciate your comments. thank you very much.


  2. Hi this is my code...

     

    <?php

     

    $username = "user"; 

    $wordlist = "password.txt"; 

    foreach( file( $wordlist ) as $password ) 


     

    $json_url = "http://www.mypage.com/security?j_username=$username&j_password=$password";

    $json = file_get_contents($json_url);

    $data = json_decode($json, TRUE);

    var_dump($data);

    echo $password, '<br>';

    flush();

    ob_flush();

    sleep(1);

    }

     

    if($data["success"]== "1")

    {

    echo "Password is: <h4>$password</h4>";

    }

    else {

    echo "false";


     

    ?>

     

     

    the explanation is when i go to the page i receive and read json file with the "success" as boolean({"success":true}), if i get the true, print me the password im searching for, the problem is in my text file, when ordered at the beginning for example

     

    password

    test1

    test2

     

    the boolean always return in false, but if i ordered at the least

     

    test1

    test2

    password

     

    the boolean becomes true, what I want is that the script can find the password in any location, the password is always the same on the test.

     

    thaks for help !

  3. Hi I'm trying to make an array contains the a-z follow by a number in 8 digits but it has to be repeated
    before the 4 digit.

    something like this, 

    a00010001 
    a00020002
    a00030003
    a00040004
    a00050005
    to 
    a10001000

    and when it ends go to the next caracter

    b00010001
    b00020002
    to 
    b10001000

    hope can you give me an idea, Thanks !!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.