THX1138
Posts: 37
|
| Posted: 06/29/2008, 2:58 PM |
|
hi all,
I have a flash applet embedded in webpages to allow doctors to draw squiggles on little diagnostic diagrams and then auto save to the appropriate medical record, as a base64 encoded string.
i can retrieve the string but havent figured out how to display it back
in php:
echo base64_decode( b64 string ) ; works
but im getting stuck somewhere simple with
echo base64_decode( $imagestringfromdbquery ) ;
does anybody have any spare clues, as now im watching blues clues as im out of ideas,
CCS4 / apache / mysql / php
tia
|
 |
 |
datadoit
|
| Posted: 06/29/2008, 5:45 PM |
|
If you haven't already, just as a test, copy the database field value
directly into your echo statement to see if it works.
Another thing I would check is your PHP memory limit setting. Boost it
up if necessary.
|
|
|
 |
THX1138
Posts: 37
|
| Posted: 07/09/2008, 8:22 AM |
|
thanks dd,
my problem was in the string encoding, which was being chunked into \" separated blocks.
using a different base 64 encoding, the php works beautifully ( base64_encode / base64_decode )
( the drawaings are still ugly, but i cant help that part )
|
 |
 |
|