Re: Search engine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ron

This doesn't sound like a Db problem then.

You could open each page and use a regex to search for the links. 
Something like:

   preg_match_all("/<a href=\"(.+)\">(.*)<\a>/", $page, $matches, PREG_PATTERN_ORDER);

which would produce an array ($matches[1]) of the addresses and a array
($matches[2]) of corresponding link text, but only for a basic link, without
additional attributes

Niel

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux