Re: List all links from a webpage
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: List all links from a webpage

From: Toby Inkster <usenet200509@tobyinkster.co.uk>
Date: Thu Sep 08 2005 - 22:23:52 CEST

Robertico wrote:

> Ok, thats correct, but is there a reason why is doesn't work
> without -number_links.
> I always want to know why. I'd like to understand what i'am doing. :-))

ISTR that I couldn't get the two lynx dumps to "line up" without using
"-number_links" for both.

>> Try it without the +12 and see.
>
> I already did, but why exactly 12.

if (strlen("References\n\n")==12)
{
        echo "That's why!\n";
        /* Again, IIRC */
}

-- 
Toby A Inkster BSc (Hons) ARCS
Contact Me  ~ http://tobyinkster.co.uk/contact
Received on Mon Oct 24 02:09:49 2005