how to parse a page that is going on 302 header?

icematrix8

New Member
i have to parse a page in php,the url of the page is going on 302 Moved temporarily header and is moved to a not found page.Its data can be retrieved manually through console option of firebug add on of mozilla.But if i try to parse it using php it gives me that not found page in return.How can i parse that page please suggest??edit:iam doing something like this to get the page's content\[code\]$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; }\[/code\]
 
Back
Top