hi..
i'm doin a search function for my website, some kind of crawler... and getting the error:
Warning: get_meta_tags(http://localhost/a&d.html/ ): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in c:\program files\easyphp1-8\www\ss.php on line 13
and this is part of my code;
7 $url = "http://localhost/";
8 $the_page = file("dat_files.txt");
9 sort($the_page);
10 for($index = 0; $index < count($the_page); $index++)
11 {
12 $the_page[$index] = ereg_replace("\n", "", $the_page[$index]);
13 $meta = get_meta_tags($the_page[$index]);
i already read the manual from php.net, but i haven't got any clue to solve it.
i also get this error
Notice: Undefined offset: 2 in c:\program files\easyphp1-8\www\ss.php on line 38
and here is my line 38
$results[] = $the_page[$index];
help me please...