Hello,
When I turned off "register_globals", my scripts to submit form returned me some errors. Those errors are coused by input type = file. My HTML file was looking like this:
<INPUT TYPE=FILE NAME=FORM_PHOTO>
And, in my submit script:
$photo = addslashes(fread(fopen($form_photo, "rb"), filesize($form_photo)));
print $form_photo_type;
It was working good, but after turning off "register_globals" it stoped and gives me error. I try to do $_POST['form_photo'] but it's not working...
Can you help me ??