CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 codecharge studio

Print topic Send  topic

Author Message
wanaka
Posted: 04/26/2002, 8:40 AM

I just tried out the codecharge studio. I use the codecharge studio to generate a login page. But for the password field because I store the password in encrypted format in the database I always get an incorrect message when I use the generated login page from codecharge studio although the password is indeed correct. Usually I will modify this part of the code of codecharge to get it working.

$sPassword = md5(get_param("Password"));

May I know in codecharge studio how could I do the same thing?
Nicole
Posted: 04/29/2002, 3:11 AM

Hello,
it could be done:
- in Validation event of password field. Add custom code like:
global $Login_form_name
$Login_form_name->password_field_name->SetValue(md5($Login_form_name->password_field_name->Value));

- or in CCLoginUser() function directly in common.php file.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.