I have a little problem with the pattern for retrieving the title of the remote page while same pattern is giving the result here is the sample.
preg_match_all('|<title>(.*)</title>|U',$this->data,$title);
is for other url and giving the result . While following return the empty array
preg_match_all('|<title>(.*)</title>|U', $valD, $title);
can any on tell me the is any problem with these lines.
Where $this->data and $valD holds the content of two different urls for different servers.
Please help me. I tried it to solve it but I failed to solve it. So I requesting the you all to tell me my faults in this.
Thank you.