/ Published in: PHP
These 4 lines of code can be used to extract and return all links from any page using regex patterns. If links are found, an array is returned, else boolean false is returned.
Expand |
Embed | Plain Text
return false;
Comments
Subscribe to comments
You need to login to post a comment.

This is a bit more efficient
http://snipplr.com/view/12678/find-all-the-links-on-a-page/