Page 1 of 1

base64 encode on submit

Posted: Sat Apr 08, 2006 7:54 am
by GeXus
Hello, I have a search that I would like the base64 encode the search parameter, I understand how to encode strings, but how would I encode on submit when using a form?

Thanks!

Posted: Sat Apr 08, 2006 8:12 am
by feyd
you want to encode it before the submission is sent? That's Javascript, not PHP.

Posted: Sat Apr 08, 2006 8:17 am
by GeXus
ah ha! Thank You!
feyd wrote:you want to encode it before the submission is sent? That's Javascript, not PHP.