• Member Avatar for nander
    nander

    Created How to query database using variable and get all results not just one row

    Hello I am trying to query a database to show records only for the current user using variable I get the correct data but only 1 row with results any …
  • Member Avatar for nander
    nander

    Began Watching How to query database using variable and get all results not just one row

    Hello I am trying to query a database to show records only for the current user using variable I get the correct data but only 1 row with results any …
  • Member Avatar for nander
    nander

    Created Datatable duplicates when data submitted

    Anyone seen or had this happen before, whenever I add, edit or delete in this datable. It only does this when I add the js pagination\search ![TableDuplicate.JPG](https://static.daniweb.com/attachments/4/792aec684975bfed8e5e50cce0835187.JPG)
  • Member Avatar for nander
    nander

    Began Watching Datatable duplicates when data submitted

    Anyone seen or had this happen before, whenever I add, edit or delete in this datable. It only does this when I add the js pagination\search ![TableDuplicate.JPG](https://static.daniweb.com/attachments/4/792aec684975bfed8e5e50cce0835187.JPG)
  • Member Avatar for nander
    nander

    Created Can anyone help with this error

    PHP Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in <?php include("header.php"); $_SESSION['loc'] = "viewkeyowners.php"; if ($_SESSION['loggedin'] <> 1) { header("Location: logintest.php"); exit(); } //this is done because …
  • Member Avatar for nander
    nander

    Began Watching Can anyone help with this error

    PHP Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in <?php include("header.php"); $_SESSION['loc'] = "viewkeyowners.php"; if ($_SESSION['loggedin'] <> 1) { header("Location: logintest.php"); exit(); } //this is done because …
  • Member Avatar for nander
    nander

    Replied To a Post in Domain login with exchange online

    So it should look like this? $res = ldap_search($ldap, $dn, $filter); $first = ldap_first_entry($ldap, $res); $data = ldap_get_dn($ldap, $first); var_dump($res); var_dump($first); var_dump($data);
  • Member Avatar for nander
    nander

    Replied To a Post in Domain login with exchange online

    I'm sorry I am not sure where to place the code you mentioned above?
  • Member Avatar for nander
    nander

    Replied To a Post in Domain login with exchange online

    Here is the value $first = ldap_first_entry($ldap, $res); $data = ldap_get_dn($ldap, $first);
  • Member Avatar for nander
    nander

    Gave Reputation to Dani in Domain login with exchange online

    When you removed the comment on the line //echo "<br /><br />OU= $data<br /><br />"; What did it say the value of $data is? If it doesn’t show anything, try …
  • Member Avatar for nander
    nander

    Replied To a Post in Domain login with exchange online

    <?php /* error_reporting(E_ALL); ini_set('display_errors', '1'); */ /*xxxxx.xx.xxx.xxxxx*/ function _ldap_login($user, $password, $samuid) { ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7); $ldap = ldap_connect("xx.xx.xx.xx") or die("Could not connect to ldap host"); if ($ldap) { $username = …
  • Member Avatar for nander
    nander

    Revoked Solved Status for Domain login with exchange online

    Hi has anyone seen an error like this before I believe it has to do with logging into a page using domain credentials but our logins have been converted to …
  • Member Avatar for nander
    nander

    Marked Solved Status for Domain login with exchange online

    Hi has anyone seen an error like this before I believe it has to do with logging into a page using domain credentials but our logins have been converted to …
  • Member Avatar for nander
    nander

    Gave Reputation to Dani in Domain login with exchange online

    It sounds like the $entry variable that was passed in as the second parameter of the ldap_get_dn() function in ldap.php is most likely FALSE. This typically happens when the function …
  • Member Avatar for nander
    nander

    Created Domain login with exchange online

    Hi has anyone seen an error like this before I believe it has to do with logging into a page using domain credentials but our logins have been converted to …
  • Member Avatar for nander
    nander

    Began Watching Domain login with exchange online

    Hi has anyone seen an error like this before I believe it has to do with logging into a page using domain credentials but our logins have been converted to …

The End.