2016-09-28 3 views

答えて

-1

どのような認証が必要ですか?

http://user:[email protected]/file.xml

簡単なPHPの例:

<?php 
$content = file_get_contents('http://user:[email protected]/file.xml'); 
?> 
ApacheでのBasic認証があるなら、あなたは自動的にこのようにURLを書き込むことでログインできます