[asterisk-users] What is equivalent function to "mv" command in php for Asterisk Spool directory usage?

Danny Nicholas danny at debsinc.com
Tue Dec 21 20:23:55 UTC 2010


PERL has a move() command; I wouldn't expect less out of PHP.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at 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,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20101221/59b74b15/attachment.htm>


More information about the asterisk-users mailing list