phpcharlie Posted July 20, 2010 Share Posted July 20, 2010 Hey guys, I'm really stuck on this one, I need to play a wav file on a webpage, but the wav file exists on another server which the php script has access to. I can list the files in the directory using $dir = "/foo/bar/baz"; if (is_dir($dir)) { if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { // echo "filename: $file" . "<br>"; }}} Only the server has access to /foo/bar/baz , the web user does not. How can I play the wav files in this folder? thanks! Link to comment https://forums.phpfreaks.com/topic/208287-play-a-wav-from-another-server/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.