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 ;-) >> >> > >No easy way of doing it, regex somthing like: > >$id = preg_replace("/.*/

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("/.*/", $1, $string); > > where $string is a line from your input'd HTML page OK, thanks abdul, much appreciated.. -- Nick W -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Parsing HTML files

2004-09-10 Thread Abdul-Wahid Paterson
No easy way of doing it, regex somthing like: $id = preg_replace("/.*/", $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 classes/functions could help

[PHP] Parsing HTML files

2004-09-10 Thread Nick Wilson
Hi all, I was wondering if any classes/functions could help me with this little challenge, (im hopeless at regex ;-) I want to extract the value of 'id' from a webpage. Any simple way to do this or am I down to sweating of the regex functions? Much thanks -- Nick W -- PHP General Maili

Re: [PHP] Parsing HTML files?

2001-07-07 Thread Chris Lambert - WhiteCrown Networks
IL PROTECTED]> 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 :) | |

RE: [PHP] Parsing HTML files?

2001-07-07 Thread Maxim Maletsky
PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Jeff Lewis [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 3:19 AM To: [EMAIL PROTECTED] Subject: [PHP] Parsing HTML files? Is it possible to parse an HTML like at: http://hyrum.net/wwbl/HTML

[PHP] Parsing HTML files?

2001-07-07 Thread Jeff Lewis
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

[PHP] Parsing HTML files from an external web server

2001-04-26 Thread James Kneebone
Hello List. I'm having a little trouble with parsing HTML files and inputting the data from the HTML file into a MySQL database. I get the following error when trying toparse the file. Warning: file("http://www.server.com/file.htm";) - No error in d:\webpages\world\lists.php on line 8 The follo

[PHP] Parsing HTML files from an external web server

2001-04-25 Thread James Kneebone
Hello List. I'm having a little trouble with parsing HTML files and inputting the data from the HTML file into a MySQL database. I get the following error when trying toparse the file. Warning: file("http://www.server.com/file.htm";) - No error in d:\webpages\world\lists.php on line 8 The follo