CUTCODEDOWN
Minimalist Semantic Markup

Welcome Guest
Please Login or Register

If you have registered but not recieved your activation e-mail in a reasonable amount of time, or have issues with using the registration form, please use our Contact Form for assistance. Include both your username and the e-mail you tried to register with.

Author Topic: Moving base64 between PHP and js  (Read 83 times)

durangod

  • Sr. Member
  • ****
  • Posts: 364
  • Karma: +5/-0
  • Weebles Wobble - but they dont fall down!
Moving base64 between PHP and js
« on: 16 Aug 2023, 04:33:29 am »
So since all can be seen on source view i had an idea to send my data in base64 encoded from PHP to js and then decode it in js and process it.  Yeah i know, you can still see it in the console js if you know what to look for lol.   But then i read this..

https://developer.mozilla.org/en-US/docs/Glossary/Base64

And so i am sort of glad that i did not do it, as it looks like it would be one great big pain in the butt to even mess with it.    I guess this is just another reason that people hate js because sometimes it requires a workaround to get what should be easy to do because of its outdated original structure.  I guess structures of that kind cant be fixed they just have to be walked around.


 

SMF spam blocked by CleanTalk

Advertisement