Thread: movefile()
View Single Post
  #3  
Old 07-26-2009, 12:33 AM
LoneAngelIbesu LoneAngelIbesu is offline
master of infinite loops
LoneAngelIbesu's Avatar
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
LoneAngelIbesu has a spectacular aura aboutLoneAngelIbesu has a spectacular aura about
Send a message via AIM to LoneAngelIbesu
Quote:
Originally Posted by fowlplay4 View Post
This works for me.

PHP Code:
// Variables
temp.currentfile "whatever.txt";
temp.olddir "levels/";
temp.newdir "levels/other/folder/";
// Movefile
movefile(temp.olddir temp.currentfiletemp.newdir temp.currentfile); 
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?
__________________
"We are all in the gutter, but some of us are looking at the stars."
— Oscar Wilde, Lady Windermere's Fan
Reply With Quote