Re: Parsing HTML files?
| From: | Chris Lambert - WhiteCrown Networks | Date: | Sat, 07 Jul 2001 18:45:17 +0000 |
| Subject: | Re: Parsing HTML files? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56657@lists.php.net to get a copy of this message | ||
For parsing, your best bet would be regular expressions. If you aren't
familiar with them, then this would most likely be a custom programming job,
as there's no such thing as an off the shelf parsing routine.
www.php.net/preg_match_all would be the best function to use to parse, and
you should get the input via either www.php.net/fopen or www.php.net/file
/* Chris Lambert, CTO - chris@whitecrown.net
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
----- Original Message -----
From: Jeff Lewis <jeff@hyrum.net>
To: <php-general@lists.php.net>
Sent: Saturday, July 07, 2001 2:18 PM
Subject: [PHP] Parsing HTML files?
| Is it possible to parse an HTML like at:
| http://hyrum.net/wwbl/HTML/watrost.htm ?
|
| I'd like to be able to grab the player name and ratings and add them to a
| "pretty" HTML output :)
|
| Jeff
|