> rename("moo.php", "foo.php");
Also, works cross-platform. In most cases try to find a function that is
part of PHP rather than using the shell, especially if you are interested in
making sure the code works across platforms. There's also most likely a
performance hit when starting a shell versus issuing system level
calls. --Kent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]