RE: [PHP] Storing MS Word documents

2004-01-29 Thread jon roig
orth keeping in mind. -- jon --- jon roig web developer email: [EMAIL PROTECTED] phone: 888.230.7557 -Original Message- From: bob pilly [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 5:26 AM To: Stuart Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Storing MS

Re: [PHP] Storing MS Word documents

2004-01-29 Thread bob pilly
Have sorted this out now. Theres a bit about storing binary data in the mssql docs: http://uk.php.net/function.mssql-query Just in case anyone wanted to know. --- Stuart <[EMAIL PROTECTED]> wrote: > bob pilly wrote: > > It seems to me that the addslashes isnt working > and > > the query is fai

Re: [PHP] Storing MS Word documents

2004-01-29 Thread bob pilly
Thanks Stuart. I tried that and i still get this error: Warning: mssql_query(): message: Unclosed quotation mark before the character string 'ÐÏࡱá'. (severity 15) in /var/www/htdocs/searches3.php on line 23 Warning: mssql_query(): message: Line 1: Incorrect syntax near 'ÐÏࡱá'. (severity

Re: [PHP] Storing MS Word documents

2004-01-29 Thread Stuart
bob pilly wrote: It seems to me that the addslashes isnt working and the query is failing because of this? Has anyone seen this before or know what i am doing wrong? Ive been on this for ages and are not getting anywhere.. Thanks for any help in advance! You don't escape single quotes with MSSQL y