473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

base64 {en,de}code mysql

Hello. I know this is comp.lang.php but I really can't find a
specific mysql newsgroup. Can someone point one out?

It seems to me that mysql doesn't have a couple of functions for
encoding and decoding strings using base64 algorithm. I really
need it *in* mysql, not php or something else.

The reason why it's because I have some strings encoded in a
table which I need to sort so I'd need to decode them first and I
don't want to handle the sorting outside mysql because it will
make the job totally harder.

If there is any chance of finding a solution for that, i'd like
to hear about it if for example, there's a way to implement the
function in mysql somehow. I would even try to change the source
code of mysql, but that wouldn't be too nice because then I'd
have to impose a patch on everyone who would like to run the
system... :\

Thanks for any information.
Jul 17 '05 #1
2 2520
Kevin wrote:
Hello. I know this is comp.lang.php but I really can't find a
specific mysql newsgroup. Can someone point one out?

It seems to me that mysql doesn't have a couple of functions for
encoding and decoding strings using base64 algorithm. I really
need it *in* mysql, not php or something else.


Did you consider *not* storing these strings in base64 encoded form? I think
that's your easiest solution to the problem.

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Jul 17 '05 #2
"Philip Ronan" <in*****@invalid.invalid> wrote in message
news:BE2EF24E.2A93A%in*****@invalid.invalid...
Kevin wrote:
Hello. I know this is comp.lang.php but I really can't find a
specific mysql newsgroup. Can someone point one out?

It seems to me that mysql doesn't have a couple of functions for
encoding and decoding strings using base64 algorithm. I really
need it *in* mysql, not php or something else.
Did you consider *not* storing these strings in base64 encoded form? I

think that's your easiest solution to the problem.

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/


I once worked with a guy who urlencode (!) all strings going into the
database. It was his way of handling strings with quotation marks :-p
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Oliv | last post by:
Bonjour, Est-il possible de se passer de l'instruction mysql_select_db() afin de sélectionner une base de données par défaut dans MySQL ? Je pense en particulier à l'association d'une base par...
0
by: Ramy076 | last post by:
I have a C App which uses openssl for Encoding and decoding which needs to be ported to java. The decoded text does not match between the C App and the java App. The size of the output itself is...
0
by: orely | last post by:
est-il possible d'utiliser xml avec mysql? merci
6
by: elia | last post by:
Bonjour, Débutant en asp, mon navigateur me signale une faute dans cette ligne, avec ces "" et ses '' je ne vois pas trop d'où viens l'erreur, quelqu'un pourait-il m'aider? merci, pascal La...
175
by: Sai Hertz And Control Systems | last post by:
Dear all, Their was a huge rore about MySQL recently for something in java functions now theirs one more http://www.mysql.com/doc/en/News-5.0.x.html Does this concern anyone. What I...
9
by: Miguel | last post by:
I am looking for some example of how to encode a string pair (user/password) in base64. I am using basic windows authentication... ¿Could anybody help me? Thank you in advance Miguel
0
by: Fred | last post by:
Bonjour, Notre site est actuellement développé en ASP/Mysql 4. les serveurs dédiés sur lesquels il est actuellement hébergé arrivent à saturation. Voici la configuration : - 1 serveur PIV...
12
by: vpr | last post by:
Hi All I want to build an Website using Apache / Python and MySQL. I dont want to spend to much time hacking html. I'm looking for some recommendations e.g. should I be using mod_python ?...
3
by: ri58776 | last post by:
Hi Does anyone have C or Java code to convert file data in base64 representation?? Please, If anyone have, send me asap.I need for one of my assignment. Thanks
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.