2012-12-04 basic認証付きfile_get_contents php // aaa: id // bbb: pw $str_tmp = file_get_contents('http://aaa:bbb@hogehoge.com/test.php'); echo $str_tmp;