I'm looking to post links in a 'href=' that are echo'd from a variable, that is gotten from a 'file_get_contents' command, to the next page when they are clicked on. Is this possible??
<?php $html = file_get_contents('http://www.DOMAIN.com/file.html'); echo $html //HERE I NEED THE file.html TO HAVE THE href= ADDRESSES INSIDE IT POSTED TO NEXT PAGE WHEN CLICKED ON //THE HTML MAY CONTAIN: <body>something <a href="/file4.html"</body> AND I WOULD NEED THAT ANCHOR TO POST THE 'href'TO THE NEXT PAGE i.e. POST /file4.html > page.php ?>
I hope this has been explained enough, ask if more info is required thanks!