odbc functions - not binary safe?

From: Date: Mon, 26 Jan 2004 20:47:48 +0000
Subject: odbc functions - not binary safe?
Groups: php.general 
Request: Send a blank email to php-general+get-175803@lists.php.net to get a copy of this message
Hi, I'm trying to insert binary data into a MS SQL Server database. Text files are added fine, but binary files with null bytes are not. The field I'm adding the binary data to is image type. I get an error about unclosed quotation marks at the null byte, but I've replaced ' with ''. I tried escaping the null byte with a backslach, but it just changes it to the string "\0" when I download it. Anyone have any ideas about this? __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/

« previous php.general (#175803) next »