PHP 8.5.0 Alpha 4 available for testing

Voting

: two minus one?
(Example: nine)

The Note You're Voting On

admin deskbitz net
15 years ago
If you want to create a gd-image directly out of a sql-database-field you might want to use:

<?php
$jpegimage
= imagecreatefromjpeg("data://image/jpeg;base64," . base64_encode($sql_result_array['imagedata']));
?>

this goes also for gif, png, etc using the correct "imagecreatefrom$$$"-function and mime-type.

<< Back to user notes page

To Top