25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

music.php 652 B

1234567891011121314151617181920
  1. <?php
  2. $sample=$_GET["sample"];
  3. if ($sample=="soft.mp3") {
  4. echo '<audio src="./music/'.$sample.'" controls autoplay loop>Format non supporté.</audio>';
  5. }
  6. if ($sample=="tonic.mp3") {
  7. echo '<audio src="./music/'.$sample.'" controls autoplay loop>Format non supporté.</audio>';
  8. }
  9. if ($sample=="hard.mp3") {
  10. echo '<audio src="./music/'.$sample.'" controls autoplay loop>Format non supporté.</audio>';
  11. }
  12. if ($sample=="light.mp3") {
  13. echo '<audio src="./music/'.$sample.'" controls autoplay loop>Format non supporté.</audio>';
  14. }
  15. if ($sample=="dark.mp3") {
  16. echo '<audio src="./music/'.$sample.'" controls autoplay loop>Format non supporté.</audio>';
  17. }
  18. ?>