IF You want to extract links of any web page using php script and store in your database or simply create url extractor to analyse any website then in this tutorial i am going to share simple php function which help you to extract all links of any web page, you only need to pass complete url of that website page which links you want to extract and it’ll return all the internal and external links of given web page in array form.
Now pass URL of any web page which links you are going to extract and it’ll return all the links of that web page in array form.
Using above function i have have created simple online link extractor tool. you can use above function for different purposes as per your project need
Comments
Post a Comment