Salut,
utilise
mysql_last_insert_id(); pour récupérer ton id, et copy ou rename pour déplacer ton fichier avec le bon nom.
In a dream, I saw me, drop dead... U was there, U cried... It was just a dream, if I die, U won't cry, maybe, U'll be happy
Mon site (articles sur la programmation et programmes)