base64 encode on submit

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
GeXus
Forum Regular
Posts: 631
Joined: Sat Mar 11, 2006 8:59 am

base64 encode on submit

Post 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!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you want to encode it before the submission is sent? That's Javascript, not PHP.
GeXus
Forum Regular
Posts: 631
Joined: Sat Mar 11, 2006 8:59 am

Post by GeXus »

ah ha! Thank You!
feyd wrote:you want to encode it before the submission is sent? That's Javascript, not PHP.
Post Reply