Hundu's Posts
Nairaland Forum › Hundu's Profile › Hundu's Posts
1 (of 1 pages)
cruxgemmata: |
Why not Buhari? |
Kanuoooo! |
Good |
1.Fela 2. Bongos ikwe 3. Tuface |
JasonBLood:mumu |
500k can build one bedroom apartment going by your specifications. Just do your market survey very well and most importantly buy your materials yourself. |
DanseMacabre:mumu |
chatinent:That can't happen in makurdi maybe far north. |
too bad |
@ FRInteractives. Thanks |
How can i create the ldap_connect() function. Sample code please. |
I'm connecting from the same page. Below is my connection. Thanks. $adServer = "ldap://trustfundpensions.net"; $ldap = ldap_connect($adServer); $username = $_POST['username']; $password = $_POST['password']; |
Please any help... i always get this error anytime i try. Fatal error: Call to undefined function ldap_connect() in C:\xampp\htdocs\Active_directory\index.php on line 9 <?php if(isset($_POST['username']) && isset($_POST['password'])){ $adServer = "ldap://trustfundpensions.net"; $ldap = ldap_connect($adServer); $username = $_POST['username']; $password = $_POST['password']; $ldaprdn = 'mydomain' . "\\" . $username; ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3); ldap_set_option($ldap, LDAP_OPT_REFERRALS, 0); $bind = @ldap_bind($ldap, $ldaprdn, $password); if ($bind) { $filter="(sAMAccountName=$username)"; $result = ldap_search($ldap,"dc=MYDOMAIN,dc=COM",$filter); ldap_sort($ldap,$result,"sn" ;$info = ldap_get_entries($ldap, $result); for ($i=0; $i<$info["count"]; $i++) { if($info['count'] > 1) break; echo "<p>You are accessing <strong> ". $info[$i]["sn"][0] .", " . $info[$i]["givenname"][0] ."</strong><br /> (" . $info[$i]["samaccountname"][0] ." </p>\n";echo '<pre>'; var_dump($info); echo '</pre>'; $userDn = $info[$i]["distinguishedname"][0]; } @ldap_close($ldap); } else { $msg = "Invalid email address / password"; echo $msg; } }else{ ?> <form action="#" method="POST"> <label for="username">Username: </label><input id="username" type="text" name="username" /> <label for="password">Password: </label><input id="password" type="password" name="password" /> <input type="submit" name="submit" value="Submit" /> </form> <?php } ?> |
pls help me unclesam. imei:353474023597602 model:eg162g |
model:EG162G IMEI:353474022436646 AND MODEL:EG162G IMEI:353474025597602 PLS HELP ME, |
sir ! each time i post help me unlock my moderm you we refer me to a page on this site but after clicking on the link and getting tu the site/page. I we click on send topic after which a small page we come for me to enter my email add, name ,coment which i will type my usb modem :e156g imei:357133038931760 recipient name and add which i will type ur name and email add unclesamgsm@yahoo.com. pls sir i have send this more than 5 times without respond but i always see other peoples' own. i'm new to his site, pls help me. |
model:e156g imei:357133038931760 thank you ! |
MODEL:E156G IMEI:357133038931760 THANKS i advaced. |
1 (of 1 pages)
;