Jump to content

Move a file?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Crane

Crane

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 398 posts
I need to move a configuration file in PHP after an install. There is no command for moving though. How do I do it? I don't want to execute a system command because then it would be limited to Linux....

#2
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
You can use the rename() function.

:)