Profile
Achievement

gdvickery's Recent SnippetsTagged file
- All /
« Prev 1 Next »
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.
4
914
posted 14 years ago by gdvickery
This method is a bit faster and more reliable then using the "explode" method. Works with PHP 4.0.3 and up.
4
653
posted 14 years ago by gdvickery