Posted by Robertico on 09/06/05 00:59
> <?php
> $url = 'http://tobyinkster.co.uk';
> $n = 12 + strlen(`lynx -dump -number_links -nolist '$url'`);
> $list = substr(`lynx -dump -number_links '$url'`, $n);
> print "<pre>$list</pre>";
> ?>
I tried to remove the numbers (removed -number_links) but it doesn't work.
I 'd like to store the results in a database.
Can you explain why adding 12 to the string length ?
Robertico
[Back to original message]
|