Hi,
I'm trying to strip out all links from a page, and return them to an array. I dont want the link text or anything.. just the actual link itself. PLUS, i dont want any links that link to files/pages on another server. so any that start with http://, ftp, https..etc.. I dont want.
Can anyone help me with this? I assume i've got to use eregi(), but i cant work it out.
http://www.bigbeigebox.net/tree.phps
someone gave me that function at the top of the page, but it doenst seem to work all the time.
Thanks in advance.