I use this fairly standard upload routine for visitors to get images onto the server.
The problem I have is 1 particular user is unable to upload images. She appears to be doing everything correctly although I can only go off her description of what she does.
Could there be something local causing the problem or is it likely to forever remain a mystery.
Keith
Code:
while($bytesread=read($fileID,$buffer,1024)){
print OPF "$buffer";
$sum_bytes=$sum_bytes+1024;
if($sum_bytes >$MaxPicSize){
close OPF;
# Delete u/s picture
unlink $NewFile;
$Message .= "File is too large.<br>Maximum Allowed File Size = $MaxPicSize.<br>";
last;
}
}
The problem I have is 1 particular user is unable to upload images. She appears to be doing everything correctly although I can only go off her description of what she does.
Could there be something local causing the problem or is it likely to forever remain a mystery.
Keith