nahsorhseda
Member
- Messages
- 116
- Reaction score
- 0
- Points
- 16
i have a html page for ex:
so ill then open that page
from $content i want to find out the links ending only with .txt and echo them as
ill pay 100 credits for this
HTML:
..........<body>
<a href="jj5f.txt">rtt</a><br>
<a href="jjf75.txt">rtt</a><br>
<a href="jjof.txt">rtt</a><br>
<a href="jj8f.txt">rtt</a><br>
</body>............
so ill then open that page
PHP:
$content=fopen('page.html');
from $content i want to find out the links ending only with .txt and echo them as
PHP:
<a href="mydomain.com/folder/jj8f.txt">rtt</a>