Re: [phpldapadmin-users] hook problem

2009-10-17 Thread Deon George
Gabor Nemeth wrote: > How I change the attributes before the post metod with my hook function? > Yes, this would be the easiest way. > How I use the php ldap function in my hook (@ldap_modify, @ldap_add)? > You shouldnt, you should use the $ldapserver->modify(), add(), etc. > $result = @lda

[phpldapadmin-users] hook problem

2009-10-16 Thread Gabor Nemeth
Hi, I used phpldapadmin-1.2.0.4 ! I have a problem with hooks functions. I want modify attributes before the post method! add_hook('post_entry_create','example_post_entry_create'); function example_post_entry_create() { $args = func_get_args(); list($serverid, $methos, $dn, $attr