![]() |
movefile()
This is a pretty simple question. I just need to know if I'm using movefile() correctly, because the file is not being moved. The npcserver has rights to all the needed folders.
This is a serverside file-checking script, using Graal's personaluploads feature. The movefile() functions are located in the conditional checks. PHP Code:
|
This works for me.
PHP Code:
|
Quote:
|
Quote:
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:
|
| All times are GMT +2. The time now is 04:02 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.