I hope I did not put it in the wrong section ;-)
I have a project where I need to read file content into a variable, for security reasons saving the file is not to be available as a standard option/action. What I have is whatever is inside the file in a variable now i need to play it as a wav file.
now I need to put whatever is in the $filecontent variable to be played on my website. I'm a very newbie to this so any help/hints are very welcome.
Thanks :)
I have a project where I need to read file content into a variable, for security reasons saving the file is not to be available as a standard option/action. What I have is whatever is inside the file in a variable now i need to play it as a wav file.
Code:
<?php
$filecontent=shell_exec("cat test.wav");
?>
Thanks :)
Comment