![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 158 Pomógł: 0 Dołączył: 13.11.2006 Skąd: Sosnowiec Ostrzeżenie: (0%) ![]() ![]() |
Witajcie.
Pewnie proste pytanie. Mam pętle: for ($i=0; $i<$info["count"]; $i++) { //Print out the user information here. For those uid, displayname, userprincipalname and emailaddress are those data inside a user profile. It will be different for your LDAP setup. echo "uid is: " . $info[$i]["uid"][0] . "\n"; echo "displayName entry is: " . $info[$i]["displayname"][0] . "\n<br>"; echo "userPrincipalName entry is: " . $info[$i]["userprincipalname"][0] . "\n<br>"; echo "Object class user:<b> " . $info[$i]["objectclass"][3] . "</b>\n<br>"; echo "Object class computer:<b> " . $info[$i]["objectclass"][4] . "</b>\n<br>"; echo "userPrincipalName entry is: " . $info[$i]["samaccountname"][0] . "\n<br><hr>"; } i chciałbym aby wyszukał mi np tylko rekordy gdzie echo "uid is: " . $info[$i]["uid"][0] . "\n"; będzie równe np 3. Proszę o pomoc |
|
|
![]() ![]() |
![]() |
Aktualny czas: 3.10.2025 - 07:36 |