[PHP] ldap_add errors

2005-09-14 Thread Jeff Loiselle
Hello, According to the PHP documentation for the ldap library, ldap_add() returns a boolean value. However, if there is an error, it immediately throws a Warning to the browser with display_errors on. I would like to do this: $result = ldap_add($ldap, $dn, $array) if (!$result) {

[PHP] Re: php ldap

2005-08-26 Thread Jeff Loiselle
Santosh Jambhlikar wrote: Hi , I have a ldap server the user password are stored in that. my php ldasearch result says that the result is ldap user password : {SMD5}eRuT8dttD6M6N6tgMJF33/TNAvc= i want to compare this password with the user given password in other application (obviously php)

[PHP] Re: previous + next buttons, no DB

2005-08-18 Thread Jeff Loiselle
Ashley, How are you creating the gallery page? You must be reading the filenames in the directory and producing an img for each one. Can you create an array of those filenames, save it to session (or generate it each time), and iterate through them? -- PHP General Mailing List

[PHP] Re: Catching all errors and redirecting

2005-08-18 Thread Jeff Loiselle
You can also try output buffering the whole page, checking for an error with string functions, and email yourself if there is an error. ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Earliest PHP/FI

2004-06-30 Thread Jeff Loiselle
Does anyone know where I would be able to find the earliest version of PHP/FI or PHP possible? I am looking for the earliest possible version for academic reasons. Thanks in advace. -- Jeff Loiselle - http://www.newnewmedia.com/~jeff -- PHP General Mailing List (http://www.php.net