NYCPHP Meetup

[nycphp-talk] Moving a file

Chris Shiflett shiflett at php.net
Sat Sep 23 20:56:27 EDT 2006


David Krings wrote:
> Yes, but using exec to do mv works on the *nix platform.
> How do I know on which OS my script will end up one day.

I think you might have missed my point. Twice.

I'm not trying to suggest using the mv command (although that should
suffice). Rather, I'm pointing out that it can also be used to rename
things. These operations are the same.

In other words, you seem to be equating a violation of your semantic
preferences to abuse.

Chris



More information about the talk mailing list