Re: MySQL 4.0 with OTRS v2 on Windows 2003 - Part Deux

10 Feb
2006
10 Feb
'06
12:17 a.m.
Thanks everyone. With your assistance, I was able to figure it out. Here is the PHP code incase anyone wants to use it in the future. This works on Windows 2003. Note: pass_input and user_inputare the username and password fields in the form <?php [..snip..] exec("perl -e \"print crypt('$pass_inout', '$user_input')\"", $output); foreach($output as $outputline){ $crypt = $outputline; } $statement = "SELECT login, pw FROM customer_user WHERE login='$strUserName' AND pw=('$crypt')"; [..snip..] ?> _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
7098
Age (days ago)
7098
Last active (days ago)
0 comments
1 participants
participants (1)
-
Solaris User