I rename the file as the id, this solve my problem. If the id is 1 the picture will be saved as 1.jpg for example. If you don't have a unique id by a combination sow use booths to make the name of the file. Something like Key1 = 10, Key2 = 20, File name = 10_20.jpg It is just a suggestion how solve the problem for me. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/2/2005 PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/