RE: [PHP] Re: correct session format?

2003-07-16 Thread Bill MacAllister
er() hurt? What is the interaction? The larger question for us a PRIDE is we have quite a bit of code that assumes register globals is on and we are doing new development where we would like to the the super global $_SESSION[] support instead of the older techniques. What are the consequences

Re: [PHP] Problem wit doing ldap_add and modify in same script

2003-02-27 Thread Bill MacAllister
ass"][0]="posixAccount"; > $info["objectClass"][1]="top"; > In the array ? Thanks :) > > > On Wed, 2003-02-26 at 17:36, Bill MacAllister wrote: >> Looks to me like a judiciously place $info = array(); would do >> wonders. >> >>

Re: [PHP] Problem wit doing ldap_add and modify in same script

2003-02-26 Thread Bill MacAllister
;gecos"]="test"; > $info["cn"]="test2"; > $info["homeDirectory"]="/home/test1"; > $info["userPassword"]="{crypt}test123"; > if (($ldap = ldap_connect("ldap.server","389"))) { > echo "Bind Good...\n"; > } > else { > echo "Connection Failed...\n"; > } > if (($res = @ldap_bind($ldap, $dn, $bindPassword))) { > ldap_add($ldap, "uid=test2, ou=Users, dc=megalink, dc=net", $info); > echo "User Added...\n"; > } > else { > echo "Addition Failed...\n"; > } > ?> > > Jim G > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > + | Bill MacAllister | 14219 Auburn Road | Grass Valley, CA 95949 | Phone: 530-272-8555 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] query to Active Directory

2003-02-26 Thread Bill MacAllister
.myschools.org. > > What on earth did I do wrong?? > > Thanks, > > - > This mail sent through IMP: http://horde.org/imp/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > + | Bill MacAllister | 14219 Auburn Road | Grass Valley, CA 95949 | Phone: 530-272-8555 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sorting Arrays

2003-02-25 Thread Bill MacAllister
the asort example, and it still doesn't work. Is there something I am missing in the config. Note, sorting works fine on an older Alpha Linux system running PHP 4.0.5. Suggestions will be heartily welcomed. Thanks, Bill +---- | Bill MacAllist

Re: Re[2]: [PHP] printing

2001-08-23 Thread Bill MacAllister
; > > And if i run linux? > because I have a redhat 6.2 server > > > Thanks > > -- > Best regards, > Fernandomailto:[EMAIL PROTECTED] > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PR