I want to insert an image as long blob in mysql4.0. I am using php 4.4 with apache 2 under winXP. The following script I am using for inserting the image which is not working. I have changed the buffer and global settings(output_buffering = on and register_globals = on) in php.ini file but with no result. Kindly see the attachment and please help.