i have a problem with my project :-)

i created two functions, base64_encode, and base64_decode, to insert a
binary file in a LONGBLOB field. When i use theses functions without a
buffer i don't get errors.
by example : OUTPUT = base64_decode(base64_encode(INPUT)); <--> i don't
have errors, i can compare the OUTPUT with the INPUT, and i don't have
errors.

But when i use a temporary buffer, i have an error.
i have this problem with my mysql database. there is a differenct
character.

perhaps I have an error in my transfer of data with MySQL, or with a
simple "char *tmp"

Could i send you my code ? because i don't find the solution of my
problem.

Best Regards 

Stephane Wirtel









---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to