1

What is my mistake?

$url = 'http://sc-stream1.dancefm.net/;';

if (!$fp = fopen($url, 'r')) {
    trigger_error("Error URL ($url)", E_USER_ERROR);
}

works:

$url = 'http://sc-stream1.dancefm.net/';

error:

$url = 'http://sc-stream1.dancefm.net/;';
Daniel Krom
  • 9,751
  • 3
  • 43
  • 44
Vlad Ivchenko
  • 562
  • 5
  • 13

0 Answers0