[PHP] ldap_read() with NULL search base

2006-07-22 Thread Turbo Fredriksson
Is there something wrong with this, or am I missing something? ldap_read(link, NULL filter) IS supposed to return the RootDSE, but it doesn't (always). On my Debian GNU/Linux systems, I have to remove the 'BASE ...' config option from ldap.conf, but now I see the same strange behaviour

[PHP] replace value of array by key of array in string variable with pre g_replace()

2004-07-25 Thread Turbo
Hi, I have array variable and string variable. I want to replace value of array by key of array in string variable with preg_replace(). Example : $message=array( 'name'='My Computer', 'version'='1.0' ); $strValue=I am $name,build version $version\n; How's to replace? Yingyos -- PHP General

[PHP] Global vars or Environment var on Class

2004-02-17 Thread Turbo
Hi I cann't call Global vars or Environment var on Class.How to's i do to call it? I want to call variable same below. var $location =http://.$HTTP_SERVER_VARS['HTTP_HOST'].$_SERVER['REQUEST_URI'].?.$HTTP_SERVER_VARS['QUERY_STRING']; Thank you. Turbo. -- PHP General Mailing List (http

[PHP] php.ini config on 4.3.4

2004-01-08 Thread Turbo
Hi I use windows Xp,apache,php 4.3.4.I can recieve variable from form by $_POST[''] (Short Term).But i can not recieve variable from form by $HTTP_POST_VARS[''] (Long Term).Include other recieve variable ( GET,SESSION,COOKIE). How to customize config? Matrix -- PHP General Mailing

[PHP] force load of ldap.conf

2003-08-01 Thread Turbo Fredriksson
It seems like the OpenLDAP libs is forcing a load of the ldap.conf file... In that there's the BASE option (which tells the clients where/what the base is). In my development systems, I use LDAP as database for users etc (together with Kerberos). The problem is that I also run development

[PHP] ldap_read() and 'No such object'

2003-03-29 Thread Turbo Fredriksson
if the namingContexts have a space in it (ie, base DN contains a space): - s n i p - [papadoc.pts/9]$ /usr/bin/ldapsearch -x -LLL -h localhost -s base -b '' '(objectclass=*)' namingContexts dn: namingContexts: o=Turbo Fredriksson - s n i p - On my live server, I have 'namingContexts: dc=com

[PHP] ldap_read() and 'No such object'

2003-03-26 Thread Turbo Fredriksson
if the namingContexts have a space in it (ie, base DN contains a space): - s n i p - [papadoc.pts/9]$ /usr/bin/ldapsearch -x -LLL -h localhost -s base -b '' '(objectclass=*)' namingContexts dn: namingContexts: o=Turbo Fredriksson - s n i p - On my live server, I have 'namingContexts: dc=com

[PHP] Re: confirm unsubscribe from php-general@lists.php.net

2003-01-08 Thread Turbo Fredriksson
-- Ft. Meade cryptographic KGB munitions jihad nitrate class struggle Semtex radar spy Iran supercomputer Treasury FSF nuclear [See http://www.aclu.org/echelonwatch/index.html for more about this] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Kerberos and AFS module

2002-12-28 Thread Turbo Fredriksson
I'm creating (not from scratch, I've taken over an existing application) an interface to my LDAP, Qmail-LDAP, Kerberos and AFS server system. Everything works fine from the LDAP point of view, but I'd like to be able to create Kerberos principals and AFS entries (volumes, users etc). Now, I guess