I'm having a very wierd issue with Mozilla (0.6 firebird) on Windows XP.
I have a file script that uploads pictures (via a form) into a MySQL DB. The code was taken from an article on this site. Now I've switched from having register_global on to off and modified the script accordingly. If I use the form from IE or Mozilla Firebird on Linux everything works fine. If I use Mozilla Firebird on Windows the pages just loads and load until I get a 400 error and nothing is inserted into the DB.
Any ideas?
Here's the portion of code in question:
if ($FILES['picture_data1']['tmp_name'])
{
$picture_data1 = $FILES['picture_data1']['tmp_name'];
$picture_data1_name = $FILES['picture_data1']['name'];
$picture_data1_size = $FILES['picture_data1']['size'];
$picture_data1_type = $_FILES['picture_data1']['type'];
$data1 = addslashes(fread(fopen($picture_data1, "rb"), filesize($picture_data1)));
MYSQL_QUERY("INSERT INTO Pictures (PIC_ID,CON_id,PIC_binary,PIC_filename,PIC_filesize,PIC_filetype) VALUES(NULL,'$con_id','$data1','$picture_data1_name','$picture_data1_size','$picture_data1_type')");
}