Re: [PHP] Screen Scraping with php

2005-07-07 Thread Robert Cummings
On Thu, 2005-07-07 at 23:46, Graham Anderson wrote: > thank Robert :) > > I ran the script and got: > Warning: ereg(): REG_BADRPT on line 6 which is in the ereg function > > > do you know what it could be ? > > will woodshed a bit on ereg > g > On Jul 7, 2005, at 6:51 PM, Robert Cummings wrote:

Re: [PHP] Screen Scraping with php

2005-07-07 Thread Graham Anderson
thank Robert :) I ran the script and got: Warning: ereg(): REG_BADRPT on line 6 which is in the ereg function do you know what it could be ? will woodshed a bit on ereg g On Jul 7, 2005, at 6:51 PM, Robert Cummings wrote: $html = file( 'http://www.gamespot.com/pc/rpg/guildwars/screens.html?p

[PHP] Screen Scraping with php

2005-07-07 Thread Graham Anderson
I am trying to use php to pull an url out of an html page If I have an html page that is being 'fread' and the html source contains the below and, I want to get the image: http://image.com.com/gamespot/images/2005/132/ 914653_20050513_screen006.jpg class="spacer6"> src="http://image