How to you have php execute OS commands like mv to move a file from one directory to another. I want this to happen when the end user clicks on the submit button on a web page?
Thank you.
Rick
How to have php rename a file?
Moderator: General Moderators
Re: How to have php rename a file?
Answered my own question.
rename('/path1/old_filename', '/path2/new_filename');
Rick
rename('/path1/old_filename', '/path2/new_filename');
Rick