Thread: movefile()
View Single Post
  #4  
Old 07-26-2009, 12:39 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by LoneAngelIbesu View Post
That's exactly what I'm doing, with temp.dir, temp.file, and temp.[body/head]folder. Could it be that the personaluploads isn't located within the levels directory?
Read my example again.

movefile("folder/filename", "newfolder/filename");

In your case..

movefile(temp.dir @ temp.file, temp.headfolder @ temp.file);

Should work.

Also it works with any directory, it's not levels specific.
__________________
Quote:
Reply With Quote