[PHP] PHP4 and Apache DBM authentication

2001-03-09 Thread AK47
I'm running apache 1.3.14+Ben-SSL/1.42 and php-4.0.4pl1 on a RedHat 6.1 linux box. I'm in trouble trying to authenticate users via mod_auth_dbm. Which DBA format should I use to generate user databases? I've tried with: 1) dba and gdbm format 2) dba and ndbm format 3) dba and db2 format I alwa

[PHP] does preg_replace_callback with class methods?

2001-05-24 Thread AK47
I was using preg_replace with the '/F' parameter, and it was working perfectly till v4.0.4pl1. Now it has been substituted by preg_replace_callback. Does it work with a class method as a callback function? If it does, how should it be written? I'm asking this because in each of these cases: -

[PHP] dbm support broken? Please help!

2001-03-22 Thread AK47
I'm trying to build php 4.0.4pl1 with dbm support on my RedHat Linux 6.2 box. I need it to be able to work with apache 1.3.14 mod_auth_dbm. Each time I run: ./configure \ --with-zlib=shared \ --with-xml=shared \ --with-gd=shared \ --with-interbase=shared \ --with-db \ --en