Re: [PHP] Parsing HTML files

2004-09-10 Thread Abdul-Wahid Paterson
No easy way of doing it, regex somthing like: $id = preg_replace(/.*input.*name=\id\ value=\[0-9]+\ \//, $1, $string); where $string is a line from your input'd HTML page Abdul-Wahid On Fri, 10 Sep 2004 12:54:37 +0200, Nick Wilson [EMAIL PROTECTED] wrote: Hi all, I was wondering if any

Re: [PHP] Parsing HTML files

2004-09-10 Thread Nick Wilson
* and then Abdul-Wahid Paterson declared No easy way of doing it, regex somthing like: $id = preg_replace(/.*input.*name=\id\ value=\[0-9]+\ \//, $1, $string); where $string is a line from your input'd HTML page OK, thanks abdul, much appreciated.. -- Nick W -- PHP General

Re: [PHP] Parsing HTML files

2004-09-10 Thread Peter Brodersen
On Fri, 10 Sep 2004 11:58:58 +0100, in php.general [EMAIL PROTECTED] (Abdul-Wahid Paterson) wrote: I was wondering if any classes/functions could help me with this little challenge, (im hopeless at regex ;-) input type=hidden name=id value=593 / No easy way of doing it, regex somthing like:

RE: [PHP] Parsing HTML files?

2001-07-07 Thread Maxim Maletsky
Yeah it is doable, just use fsockopen, and parse the input into your database and go wild. Keep in mind - doing it directly on request is VERY slow. You should be pre-parsing it and then showing the data from your resources. Sincerely, Maxim Maletsky Founder, Chief Developer