Re: [PHP] Storing Img Binary in MySQL

2001-12-06 Thread Andrey Hristov
n use addslashes also but mysql_escape_string is safer. Regards, Andrey Hristov - Original Message - From: "phantom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 06, 2001 12:48 PM Subject: [PHP] Storing Img Binary in MySQL > I want to store the ima

[PHP] Storing Img Binary in MySQL

2001-12-06 Thread phantom
I want to store the image binary data in a MySQL Blob field. So I created a simple form that prompted the client for an image file that would be uploaded to the server. The server takes the file and gets the following data, assuming ImgFile is the name of the uploaded image. $ImgTitle = $HTTP