![]() |
Code needed to rename a file on my server
I want to create a conditional that would rename a file on my webserver.
How would I use that properly if for ex: original file name: /home/server/main/myfile.txt changed to: /home/server/main/error.txt I found this command, I don't know if its the right one or not. Code:
rename($old_file_name, $new_file_name); Any help on this would be greatly appreciated. thx |
All times are GMT. The time now is 07:15 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|