On 3/23/06, tedd <tedd@xxxxxxxxxxxx> wrote: > >Are you escaping the image string before you insert it? > > Aaahh, no ?? Why is it going to attack me? > > But seriously, it works on one server, why not the other? > > On the other hand, it appears to object to > something within the string -- so that might be > the problem. Please forgive my ignorance, but how > would I escape the image string -- do I use > dbx_escape_string() or would something else be > better? I would base64encode the image string before puting it into the database then you would probably not run in to quoting issues. http://us3.php.net/base64encode -- ________________________________ Michael E. Crute http://mike.crute.org It is a mistake to think you can solve any major problems just with potatoes. --Douglas Adams -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php