LK, one more thing, please, in the CP settings there are 3 options for the filenames:
1.-Random filename.
2.-Username in filename.
3.-Member Number in filename.
Uploading by Random numers (ubb/uploads/1122295926.jpg) but makes managing impossible because all files are pile up togheter in the same folder, nobody knows what belongs to whom.
The other 2 options are useles, because there only can be one file (ubb/uploads/Felix10.jpg) any new file uploaded will replace the existing.
What should I add to the script to upload by Member and Random Numeber ? (ubb/uploads/Felix10/1122295926.jpg
Thank you LK