> i am using the php " md5( ) " function to encrypt
> the password. so, when i want to access to the new
> user "index.php" the password pop-up window appears
> and i type in the username and password, but i can“t
> access the user file.
Hi, I also wrote a script creating .htaccess-files
and I t
Pass variable by reference:
function abc(&$var1, &var2) {
$var1 ++;
$var2 ++;
} //end of function
Christian Leberfinger
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sorrysorrysorry - I didn't see the exit.
The other way really was the better one.
But what is crazy about this piece of code?
Chris
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No.
This is the most elegant way I'm aware of:
None
http://www.microsoft.com/";>Microsoft
http://www.altavista.com/";>Altavista
http://php.net/";>Php.net
--
PHP Windows Mailing List (http://www.php.net
1) action=""
[works also, with register_globals=Off]
You can also leave the action-tag blank -
then the form always posts to itself!
2) $texto should be $_POST['texto']
[again the autoglobals...]
3) Correct code - I hope it helps you
Learning PHP
"
Most MySQL-Servers don't allow connections from
extern hosts.
I don't think, Lycos will be an exception... =)
Regards,
Christian Leberfinger
> -Original Message-
> From: Matt [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 21, 2002 12:53 PM
> To: [EMAIL PROT
I know about this solution, but I'm not very happy with it.
The idea of my script is, that it's one single script-file.
This makes it easy to install and to handle for the users.
I hope, you understand me...
Christian Leberfinger
PS: I think, Apache didn't recognize your
he count(*)
and before PHP is inserting.
Then PHP thinks, the user doesn't exist [count(*)== 0] and
the insert fails because of duplicate keys.
-> always check the mysql_error
Regards,
Christian Leberfinger
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Crypt() is supported by windows systems, but it
uses other encryption mechanisms than crypt()
on unix-systems...that means it returns other
encrypted strings.
So when Apache compares the crypt()ed string with
the one stored in the .htpasswd, it fails and you
can't gain access...
Is there no way
Does anyone have a solution for crypt()-support on
windows-based webserver-systems?
I'm the developer of PHPAccess - the admin tool for
htaccess-security on Apache-servers and I don't get
it to create a crypted password that is recognized
by Apache's htaccess.
Help!
Christ
10 matches
Mail list logo