当我尝试用simplexml_load_file()函数读取XML文档时遇到了问题--这是我收到的警告!: simplexml_load_file(): <img src=elite.png><br> in URL on line 15Warning: simplexml_load_file(): <img src=elite.png><br> in URL line 15
Wa
在下面的代码中,die()函数应该执行,因为我传递给simplexml_load_file()的URL是错误的。simplexml_load_file()返回FALSE,这将触发die():
$xml = simplexml_load_file($Warning: simplexml_load_file(http://www.badurl.com): failed to open stream: H
[file_size] => 47.43)$file = $this->upload->data('full_path'); ;我得到了这个错误
Message: simplexml_load_file() expects parameter 1 to be a valid path, array given