class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
Please be courteous on this forum. You wouldn't have to ask your question if you had read the documentation, or had a better grasp of PHP basics.
The thread I linked to answered your question. It says: "The class creates one picture per call to the process() function."
The file upload.php is a test file. You are not supposed to use it as-is in your project. The test file creates two images from one uploaded file, for the sake of the example. Thus, it calls process() twice.
To have only one image created, simply call process() once. You can find example for this everywhere in the forum, the FAQ, and other pages.Reply
Sorry if it seems to i wasnt courteous, it wasnt my intention.
Exactly, although im not using upload.php in my project, im using some of its code to make my project (this is why you made it, i think so), and yes if you delete second call image on this file, you will have only one image created.
My question is ive seen when you create an image it always creates a second image with reflection, how could i avoid this second image creation?
Thanks in advance.
R3g@rd$
If someone want to avoid second image you [...] simply have to delete second image on upload.php.
It works fine.
Regards.
The thread I linked to answered your question. It says: "The class creates one picture per call to the process() function."
The file upload.php is a test file. You are not supposed to use it as-is in your project. The test file creates two images from one uploaded file, for the sake of the example. Thus, it calls process() twice.
To have only one image created, simply call process() once. You can find example for this everywhere in the forum, the FAQ, and other pages.
Exactly, although im not using upload.php in my project, im using some of its code to make my project (this is why you made it, i think so), and yes if you delete second call image on this file, you will have only one image created.
Thanks for your patience.
Regards.