Hi!
I´m working with PHP 5 and using the DB2 database.
I´m trying to update a jpg file, that´s save on the database.
here´s the code:
$fp = @fopen($caminho/$nome_arquivo, 'r');
$content = fread($fp, filesize($caminho/$nome_arquivo));
$content = bin2hex($content);
Pablo Garay wrote:
Hi!
I´m working with PHP 5 and using the DB2 database.
I´m trying to update a jpg file, that´s save on the database.
here´s the code:
$fp = @fopen($caminho/$nome_arquivo, 'r');
$content = fread($fp, filesize($caminho/$nome_arquivo));
$content =