I think rename() is what you're looking for http://php.net/manual/en/function.rename.php
On Tue, Dec 21, 2010 at 2:23 PM, Danny Nicholas <da...@debsinc.com> wrote: > PERL has a move() command; I wouldn’t expect less out of PHP. > > > > ________________________________ > > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Bruce B > Sent: Tuesday, December 21, 2010 2:20 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [asterisk-users] What is equivalent function to "mv" command in php > for Asterisk Spool directory usage? > > > > Hi Everyone, > > > > I understand that there are a few warnings about using "cp" to move .call > files to /var/spool/asterisk/outgoing as they might acted upon before copy > is done. So, using PHP, What is the equivalent of "mv" command? Would it be > rename() in php or is there a better method? > > > > Thanks, > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users