0

I have done a project in php for a call center . My goal is to write the call recording files in a remote server. How it possible ?.

My code is ,

if(isset($row['recAudioFile'])){
    $path="http://xxxxx.com/testrecordings/";
    $RecordedFile="test.mp3";
    file_put_contents($path.$RecordedFile,base64_decode($row['recAudioFile']));
}

Note : I can't run any php code in the remote server Or establish a FTP Connection.

JIJOMON K.A
  • 1,290
  • 3
  • 12
  • 29

0 Answers0