Hi, I'm trying to put 1 image from my database in a file. I can't understand how to create a new file on the HD.... I tried with the tmpfile and tempnam, but in both I can't know the filename (I need it to create a postcard image)... Any help?
Put the image in some dir and then copy it to the postcard dir.
Use the filename in the database.