On Monday 03 June 2002 17:23, nauti wrote:
> Hi, i am having a problem with my mysql database inserting images in a blob
> field. I upload files from a form using the following code:
[snip]
> half image only, and size is always 65535 bytes.
>
> Is maybe any limitation in the way i do the upload?
Hi, i am having a problem with my mysql database inserting images in a blob
field. I upload files from a form using the following code:
if (isset($binFile) && $binFile != "none")
{
$data = addslashes(fread(fopen($binFile, "r"), filesize($binFile)));
}
else
{
$data = "";
}