HTML Parser: Redirect limit reached error
I am using DOM Simple HTML Parser and am returning this error:
Warning: file_get_contents (h ** p: //info.xxxx.org/eng/txt_detail.jsp? Cid = 2_8 & channelid = 3 & primary keyvalue = 132234142 & libid = 2 & doctype = 1) [function.file -get -contents]: could not open stream: redirection limit reached
Someone please help.
0
Naroito
a source
to share
1 answer
It looks like you are getting a lot of 302 redirect status. This can happen when the page wants to set a cookie, but you don't accept it, so it redirects you and tries to set the cookie again, which fails and redirects you ...
When I try to visit this URL, I get a 404 status code.
What language and other libraries are you using?
+1
a source to share