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
1414
posted 16 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
1035
posted 16 years ago by gdvickery