Hi,
I'm having a problem when 'm trying to insert an image into a image field
in MSSQL.
Does anyone know's how to solve my problem?
Before inserting the image, i execute this piece of code:
if (!($fp=fopen($file,"r"))) echo "ERRO NO FREAD: $fp";
$banner=str_replace("'","''",fread($fp, filesize($file)));
fclose($fp);
Thank you.
P.S. I placed into the reply-to my other e-mail [EMAIL PROTECTED] Please add it
to the reply.
Hugo Alexandre Dias
Eng. Sistemas Inform�tica
[EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-WIN] Problems while inserting an image into MSSQL
Hugo Alexandre Almeida Soares Dias Mon, 07 May 2001 06:10:04 -0700
