Re: Not working?

From: Date: Thu, 08 Jan 2004 17:53:27 +0000
Subject: Re: Not working?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174061@lists.php.net to get a copy of this message
Hi jason, Quoting Jas <jason.gerfen@scl.utah.edu>: > > system("rename('/path/to/new.sh', '/path/to/old.$today')"); > I don't think this is correct syntax. Either use the php rename function like rename('/path/to/new.sh', '/path/to/old.$today'); or if you want to use system then use system ("rename '/path/to/new.sh' '/path/to/old.$today'"); HTH R'twick ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.

« previous php.general (#174061) next »