我必须在 php 中解析一个页面,该页面的 url 正在进行 302 临时移动标题并移动到一个未找到的页面。它的数据可以通过 mozilla 的 firebug add on 控制台选项手动检索。但是如果我尝试使用 php 解析它,它给了我未找到的页面作为回报。我该如何解析该页面,请建议?
编辑:我正在做这样的事情来获取页面的内容
$file_results = @fopen("http://www.the url to be parses","rb");
$parsed_results='';
if($file_results)
{
while ($data3 = fread($file_results,"125000"))
$parsed_results .= $data3;
}