I'm using LDAP to authenticate my users. login.php and
any script that requires authentication start off with
the following code:
--
session_start();
if (session_is_registered("valid_user")) {
header( "Location: admin.php" );
--

The ldap binds as such:
ldap_bind($ds,
"uid=$uid,ou=people,dc=server,dc=domain,dc=dom",
$passw);

What I want is to be able to display AND use the $uid
throughout the other scripts.
How can I do this?

thanks,

Jay

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to