suma237 Posted July 18, 2007 Share Posted July 18, 2007 why this error? Parse error: syntax error, unexpected '"' in D:\Suma\music\test_music.php on line 26 exec("D:\Suma\music\WAV.EXE D:\Suma\music\song\".$foo." /Q"); Thanks Link to comment https://forums.phpfreaks.com/topic/60538-parse-error/ Share on other sites More sharing options...
lur Posted July 18, 2007 Share Posted July 18, 2007 Probably because you are escaping one of your quotes: exec("D:\Suma\music\WAV.EXE D:\Suma\music\song\".$foo." /Q"); Quick solution: use forward slashes instead. exec("D:/Suma/music/WAV.EXE D:/Suma/music/song/".$foo." /Q"); Link to comment https://forums.phpfreaks.com/topic/60538-parse-error/#findComment-301160 Share on other sites More sharing options...
suma237 Posted July 18, 2007 Author Share Posted July 18, 2007 thanks.do you know Howto Make a PHP MP3 Player? Link to comment https://forums.phpfreaks.com/topic/60538-parse-error/#findComment-301170 Share on other sites More sharing options...
MadTechie Posted July 18, 2007 Share Posted July 18, 2007 Use Flash as a player.. Link to comment https://forums.phpfreaks.com/topic/60538-parse-error/#findComment-301172 Share on other sites More sharing options...
suma237 Posted July 18, 2007 Author Share Posted July 18, 2007 any other options? Link to comment https://forums.phpfreaks.com/topic/60538-parse-error/#findComment-301185 Share on other sites More sharing options...
lewis987 Posted July 18, 2007 Share Posted July 18, 2007 you can code it in php but it will take alot of coding Link to comment https://forums.phpfreaks.com/topic/60538-parse-error/#findComment-301188 Share on other sites More sharing options...
jitesh Posted July 18, 2007 Share Posted July 18, 2007 Review attachments may be helpful for you.... Place mp3 files in a folder mp3 [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/60538-parse-error/#findComment-301189 Share on other sites More sharing options...
suma237 Posted July 18, 2007 Author Share Posted July 18, 2007 thanks i will check that coding Link to comment https://forums.phpfreaks.com/topic/60538-parse-error/#findComment-301192 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.