Dear friends,
Does anyone know how to get Image Binary data from one FORM in another file to insert into MySQL Database???
More details:
Normally, I used this command to get Binary data when the Image file ($Imgfile) is call from a FORM in the same file with this command. Then I can insert Binary Data of the Image as BLOB format:
$Imgdata = addslashes(fread(fopen($Imgfile, "r"), filesize($Imgfile)));
But when the FORM that contains the Image file name is stored in another file, It does not work link that way.
Please help.
Thanks a lot
NMDung