Hello,
The following script returns 'LDAP bind failed...'.
";
$ldaprdn = "[EMAIL PROTECTED]";
$ldappass = "jsmithpass";
$ds=ldap_connect("ad.dept.some.edu");
if ($ds) {
echo "Binding ...";
$r=ldap_bind($ds, $ldaprdn, $ldappass);
if ($r) {
echo "LDAP bind successful...";
}
William Stokes wrote:
> What is the best or right way to compare users name and password given in
> a
> web form to data in mysql database?
It's kind of a Good Idea to store the password encrypted using MySQL's
md5() function or other similar functions.
In the old days, you'd use their password()
[snip]
What is the best or right way to compare users name and password given
in a
web form to data in mysql database?
I saw one example where sql SELECT query was made with username and
password
as WHERE and the script tested how many rows was returned from database
if
there was 1 row returned
Hello,
What is the best or right way to compare users name and password given in a
web form to data in mysql database?
I saw one example where sql SELECT query was made with username and password
as WHERE and the script tested how many rows was returned from database if
there was 1 row returne
If you simply want to find out the username of someone who has logged in
using apache htaccess authentication, that information is contained in the
global variable $PHP_AUTH_USER
Fred
Chamarty Prasanna Kumar <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi R
To use the HyperWave functions you need to download and install HyperWave,
whatever it is.
And your second question has nothing to do with HyperWave. Simply check
$REMOTE_USER. phpinfo() would have shown you this.
-Rasmus
On 7 Dec 2001, Chamarty Prasanna Kumar wrote:
>
>
> Hi Rasmas and
Hi Rasmas and All,
Thanks very much for the reply, Rasmas.
To use Hyperwave functions does I need to download
software and install it or it will work with php
intallation.
Or is there any way to find the login "username" from
the web page using php and that login authentic
Not that I have ever used HyperWave, but a 3 second glimpse at the manual
would seem to indicate that you get a HyperWave connect by calling
hw_connect().
-Rasmus
On 7 Dec 2001, Chamarty Prasanna Kumar wrote:
>
>
> Hi All,
>
>Want to know the usage of
>
> hw_getusername(int connection
Hi All,
Want to know the usage of
hw_getusername(int connection); function
specifically, what connection refers to !!
Thanks in advance,
Kumar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
9 matches
Mail list logo