Write a PHP program that accepts a link to a given website and
parses that site for every link to other pages available from the
page loaded by the initial link. This program should only search
for links to other pages (not links to images embedded within) and
it should work recursively, meaning that for each link it finds, it
should automatically run another iteration with the new link
replacing the one entered by the user. It should keep doing this
recursively until it is no longer able to find new links (duplicate
links should be ignored).
Write a PHP program that accepts a link to a given website and parses that site for every link to other pages available
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write a PHP program that accepts a link to a given website and parses that site for every link to other pages available
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!