[PHP] Re: interbase + php

2004-03-02 Thread Puiu Hrenciuc
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

[PHP] Re: interbase + php

2004-03-02 Thread Puiu Hrenciuc
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

Re: [PHP] Re: interbase + php

2004-03-02 Thread Daniel Clark
I understand you can use base64_encode and decode. http://www.phpbuilder.com/manual/function.base64-encode.php 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