I also think addslashes() and stripslashes() could be useful..

"Puiu Hrenciuc" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Why don't you use base64_encode and base64_decode functions ?
> It will take about 33% more space  but will be SQL and PHP safe .
>
>
> "Markus Ecker" <[EMAIL PROTECTED]> wrote in
message
> news:[EMAIL PROTECTED]
> > hi all!!
> >
> > i have the problem that i want to put an image into a firebird database.
> the
> > problem is that when i copy the code of the image into my sql syntax,
the
> > code contains ' and " and then php thinks that this is the end of the
sql
> > statement, although this is just data of the image.
> >
> > is there another method how i can put images into a database???
> >
> > what are the functions ibase_blob_create good for??
> >
> > many thanks
> > greets
> > markus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to