Results 1 to 3 of 3
Thread: copy() problem
Dec 2, 2004, 08:07 #1
- Join Date
- Feb 2004
- 0 Post(s)
- 0 Thread(s)
I have the following problem...
during a registration process(which has to be confirmed via email) the user can upload his company logo and one other file...
Until the registration is confirmed via email I keep the files in a
when user confirms his registration via email the logo is copied
from /data/temp/ to
and this other file is copied to
after copying, the files are deleted from /temp/
The problem is that the dynamic created directories and copied files cannot be deleted manualy from the server!???I tried via SmartFTP and directly from cPanel but nothing...Also the logo isn't copied to /company_id/ dir and if I try to upload it manualy I can't because I have no permission...
Then I contacted my support and they deleted the files but that isn't solution...
I tried google but couldn't find nothing useful about this...
Any help would be appriciated cause I don't know what to do..
the code itself is just plain
where $destination is a full file name not just a directory which was suggested in the php manual....
UPDATE: I just noticed that only the logo isn't copied!?this other file is copied to user_id directory but the logo isn't to parent directory...
however I cannot delete the user_id directory nor any files in it...
I hope I made this clear...exit(0);