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 Quote 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"); Quote 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? Quote 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.. Quote 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? Quote 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 Quote 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] Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/60538-parse-error/#findComment-301192 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.