*****I have a script that uploads images to a database, MS SQL 7.0
// inserts image into into temp_images
mssql_query("INSERT INTO temp_images (document_number, image)
VALUES ('$document_number','$image')
");
******My problem is when I want to retrieve the image from the database using this script
// find image from temp_database
$find_image=mssql_query("SELECT *
FROM temp_images
WHERE document_number = '$document_number'
");
while($image_result=mssql_fetch_array($find_image))
{
$image_temp=$image_result["image"];
}
****I recieve this error
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
****My record format is binary, what is the deal?
THANKS