[PHP] Re: MySql or flat database using PHP ?

2001-08-18 Thread Emilio Panighetti
It depends... if you have a handful of records, you might start with a flat file. but if you think you'll get to hundreds of records, go with a database. Even if all you want is a small array of data, go with a database. If all you want is a simple array, you might consider use DBM files (Look

[PHP] Slow LDA Queries

2001-08-18 Thread Emilio Panighetti
this function. mod_ldap stores the user's dn on the REMOTE_USER environment variable. Here's the function. I don't know how to make it faster. Thanks, Emilio Panighetti ?php // Retrieves user's real name from LDAP function ldapcnsearch() { $s_ldapserver = localhost; $s_ldapport = 389; $ds

Re: [PHP] Slow LDAP Queries

2001-08-18 Thread Emilio Panighetti
uch time in the first place. Since these thoughts are not related to PHP, you can feel free to contact me off-list to discuss further. Andy Thanks, Emilio On Sat, Aug 18, 2001 at 05:07:26PM -0400, Emilio Panighetti wrote: I have OpenLDAP and PHP 4.0.4p1 on a RedHat 7.1 (plain distribution

[PHP] Slow LDAP Queries (PHP 4.0.4p1 RH 7.1)

2001-08-16 Thread Emilio Panighetti
this function. mod_ldap stores the user's dn on the REMOTE_USER environment variable. Here's the function. I don't know how to make it faster. Thanks, Emilio Panighetti ?php // Retrieves user's real name from LDAP function ldapcnsearch() { $s_ldapserver = localhost; $s_ldapport = 389; $ds