CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 encrypt a field

Print topic Send  topic

Author Message
arookie

Posts: 12
Posted: 11/03/2007, 10:33 PM

Hi guys,

I need to encript a field using these formula:

base64(rc4(md5("textbox content")))

Hos this is done in PHP?,.Im really new to eloping, so any, really any clue will be apreciated.

View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 11/04/2007, 8:12 AM

arookie
I am assuming that you are using PHP4/5. If this is the case here are links that should point you in the right direction.

base64_decode: http://www.php.net/manual/en/function.base64-decode.php
base64_encode: http://www.php.net/manual/en/function.base64-encode.php
imap_base64: http://www.php.net/manual/en/function.imap-base64.php
rc4 (is a part of the pear library): http://pear.php.net/package/Crypt_RC4
md5: http://www.php.net/manual/en/function.md5.php
View profile  Send private message
arookie

Posts: 12
Posted: 11/04/2007, 11:34 AM

Thanks mamboBrown, I found this same pages, but no reference about how to implement them in php,.

I tried setting the value of the textbox to = base64(rc4(md5("textbox content"))) , but it didt work.

What Im doing wrong...???

Thanks in advanced
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 11/05/2007, 5:29 AM

arookie
If you notice in the links above that I provided to you that the function base64 (should be base64_encode) does not exist. Please look at the links that I provided you. I provided the function as the first part of the links.
View profile  Send private message

Add new topic Subscribe to topic   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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