Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Beginning PHP and Postgre SQL 8 From Novice to Professional phần 6
Đang chuẩn bị liên kết để tải về tài liệu:
Beginning PHP and Postgre SQL 8 From Novice to Professional phần 6
Như Bảo
50
90
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
chức năng loại bỏ các giá trị của một thực thể thay vì toàn bộ đối tượng. Sự hạn chế này có nghĩa là nó được sử dụng thường xuyên hơn so với ldap_delete (), bởi vì nó là nhiều hơn nữa khả năng là các thuộc tính sẽ yêu cầu loại bỏ hơn là toàn bộ đối tượng. Trong ví dụ sau đây, thuộc tính của công ty Julius Caesar của người sử dụng | 418 CHAPTER 17 PHP AND LDAP ldap_delete boolean ldap_delete resource link_id string dn The ldap_delete function removes an entire entry specified by dn from the LDAP directory returning TRUE on success and FALSE on failure. An example follows dn CN Julius Caesar OU People OU staff DC ad DC example DC com ldap_delete ldapconn dn or die Could not delete entry Completely removing a directory object is rare you ll probably want to remove object attributes rather than an entire object. This feat is accomplished with the function ldap_mod_del introduced next. ldap_mod_del boolean ldap_mod_del resource link_id string dn array entry The ldap_mod_del function removes the value of an entity instead of an entire object. This limitation means it is used more often than ldap_delete because it is much more likely that attributes will require removal rather than entire objects. In the following example user Julius Caesar s company attribute is deleted dn CN Julius Caesar OU People OU staff DC ad DC example DC com ldap_mod_delete ldapconn dn array company In the following example all entries of the multivalued attribute mail are removed dn CN Julius Caesar OU People OU staff DC ad DC example DC com attrs mail array ldap_mod_delete ldapconn dn attrs To remove just a single value from a multivalued attribute you must specifically designate that value like so dn CN Julius Caesar OU People OU staff DC ad DC example DC com attrs mail imperatore@example.com ldap_mod_delete ldapconn dn attrs Configuration Functions Two functions are available for interacting with PHP s LDAP configuration options ldap_set_option for setting the options and ldap_get_option for retrieving the options. Each function is introduced in this section. However before introducing these functions let s take a moment to review the configuration options available to you. Configuration Options The following configuration options are available for tweaking LDAP s behavior CHAPTER 17 PHP AND LDAP 419 Note LDAP uses the .
TÀI LIỆU LIÊN QUAN
Beginning PHP and Postgre SQL 8 From Novice to Professional phần 8
Beginning PHP and Postgre SQL 8 From Novice to Professional phần 1
Beginning PHP and Postgre SQL 8 From Novice to Professional phần 2
Beginning PHP and Postgre SQL 8 From Novice to Professional phần 3
Beginning PHP and Postgre SQL 8 From Novice to Professional phần 4
Beginning PHP and Postgre SQL 8 From Novice to Professional phần 5
Beginning PHP and Postgre SQL 8 From Novice to Professional phần 6
Beginning PHP and Postgre SQL 8 From Novice to Professional phần 7
Beginning PHP and Postgre SQL 8 From Novice to Professional phần 9
Beginning PHP and Postgre SQL 8 From Novice to Professional phần 10
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.