Reply to Re: Inserting modified image into a database

Re: Inserting modified image into a database new!
by colin, 16 years, 3 months ago
Strictly speaking, you would need to call process() twice to store the image on file and in the database.

But in fact, you can simply retrieve the image content as in my code example, calling process() without an argument, and then you can save the return value to the database, and dump it to the disk too, using for instance imagepng() or any other PHP image functions.

Sa you can call process() once, and save the image content several times if you wish.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important