Sign up to connect with fobos and gain access to their complete profile
  • Member Avatar
    fobos

    Replied To a Post in where do i put the password_verify function in my code please ?

    Here is something you might wanna try. /** * Check for correct password * * @param string $password The password in plain text * @param string $hash The stored password …
  • Member Avatar
    fobos

    Replied To a Post in search value

    Lets see
  • Member Avatar
    fobos

    Replied To a Post in where do i put the password_verify function in my code please ?

    Once you hash a password, it cannot be undon. Therefore, you cannot cross check a text password with a hashed one. If this was possible, no password woule be safe …
  • Member Avatar
    fobos

    Created Convert string of numbers to date

    Hello all, i have a small question, i data dumped my torrent file and i forgot how to convert the date string to an actual date. Example. ["creation date"]=> float(1392057306) …
  • Member Avatar
    fobos

    Replied To a Post in IF(empty($_POST))

    @SimonIoa, the onfocus event will remove the "Search". With that being said, SimonIoa still has a point. You should have that in your input if you are asking to verify …
  • Member Avatar
    fobos

    Marked Solved Status for function not returning msyql rows

    Hello all, im having some problem, i have a function call dbconn which i run after my session. i can successfully connect to the database and run the mysql statement …
  • Member Avatar
    fobos

    Replied To a Post in function not returning msyql rows

    Wait, so was i in the wrong? i noticed aimthwee got two down votes. I do agree with you, but what he said is something that i wasnt expecting. I …
  • Member Avatar
    fobos

    Replied To a Post in function not returning msyql rows

    > ^^That right there tells me you don't even know how to use functions. Go back to basics bro. If i wanted a dickhead answer, i would have asked for …
  • Member Avatar
    fobos

    Replied To a Post in function not returning msyql rows

    Man this is rough, how do i return rows in a function using mysqli. Heres what i have: db_connect.php <?php function dbconn($autoclean = false) { $mysqli = new mysqli(HOST, USER, …
  • Member Avatar
    fobos

    Replied To a Post in function not returning msyql rows

    This is the code i use. I will just revert to mysqli to see what i get. Thanks for the help right now. If i have anything else, ill repost …
  • Member Avatar
    fobos

    Replied To a Post in function not returning msyql rows

    No issue with global connections. if i put the mysql_query and assoc in index.php and run it that way, everything works. but since if have it in the function, it …
  • Member Avatar
    fobos

    Created function not returning msyql rows

    Hello all, im having some problem, i have a function call dbconn which i run after my session. i can successfully connect to the database and run the mysql statement …

The End.