RE: [PHP] hyperlink parser - a bit new view :)

2002-08-18 Thread MET
, 2002 4:20 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] hyperlink parser - a bit new view :) I think there is no message about the same idea. I would need to parse html file and get all within href= or href=''. So I don't want to get all texts which could be links, but only content of href variable

RE: [PHP] hyperlink parser - a bit new view :)

2002-08-18 Thread Roman
Hi Mat, I would not please for help if I would not read those texts. Of course I've read them both. But on those phpbuilder's page there are also similar questions but answered scripts don't work, for example: $text=a target=\top\ href=\http://aaa\;ttrtert/a; preg_match_all(|href=\?([^\'

Re: [PHP] hyperlink parser - a bit new view :)

2002-08-18 Thread DL Neil
Hi Roman, But on those phpbuilder's page there are also similar questions but answered scripts don't work, for example: ... preg_match_all(|href=\?([^\' ]+)|i(+[ ]), $text,$ar); ... I really don't know :( There's definitely something wrong with the RegEx above. The string commences with

[PHP] hyperlink parser

2002-08-17 Thread Roman
Hello, I'd need to parse html page and get all hyperlinks there. Is there any easy way to do it ? I'm not so good at regexps :( $file=file(http://url.html;); could be good start :) Thanks for any help, Roman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] hyperlink parser

2002-08-17 Thread Jason Wong
On Saturday 17 August 2002 19:25, Roman wrote: Hello, I'd need to parse html page and get all hyperlinks there. Is there any easy way to do it ? I'm not so good at regexps :( $file=file(http://url.html;); could be good start :) Even better, search the archives. -- Jason Wong -

RE: [PHP] hyperlink parser

2002-08-17 Thread Roman
On Saturday 17 August 2002 19:25, Roman wrote: I'd need to parse html page and get all hyperlinks there. Is there any easy way to do it ? I'm not so good at regexps :( Even better, search the archives. pls how to reach archives and what to search ? I have last 7.000 messages in my mailer :( I

Re: [PHP] hyperlink parser

2002-08-17 Thread Jason Wong
On Saturday 17 August 2002 20:07, Roman wrote: On Saturday 17 August 2002 19:25, Roman wrote: I'd need to parse html page and get all hyperlinks there. Is there any easy way to do it ? I'm not so good at regexps :( Even better, search the archives. pls how to reach archives Look on the