Re: [PHP] Findng a pattern

2002-10-28 Thread Henry
Hi Again, sorry it's taken so long. Thankyou for your help. I have since reappraised my thoughts on this subject and would like to thank all of you (and inparticular Rasmus Lerdorf) for your time in replying to my question. I will not be using anthing that was provided in reply to circumvent googl

Re: [PHP] Findng a pattern

2002-10-05 Thread Marek Kilimajer
t;>[EMAIL PROTECTED] >> >>HiTCHO has Spoken! >> >> >> >> >> >> >>-Original Message- >>From: Henry [mailto:[EMAIL PROTECTED]] >>Sent: Saturday, 5 October 2002 2:36 PM >>To: [EMAIL PROTECTED] >>Subject: [PHP] Findn

Re: [PHP] Findng a pattern

2002-10-04 Thread Rasmus Lerdorf
You are building something that will automatically scrape Google by explicitly circumventing the tools they have provided for you to do so. Whether the information is for your own internal statistics or not is irrelevant. The terms of service state: No Automated Querying You may not send aut

Re: [PHP] Findng a pattern

2002-10-04 Thread Henry
9]+[.]*[0-9]*/", $string, $result); > > print_r($result); > > ?> > > > Timothy Hitchens (HITCHO) > [EMAIL PROTECTED] > > HITCHO has Spoken! > > > > > > > Sent: Saturday, 5 October 2002 2:50 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP]

Re: [PHP] Findng a pattern

2002-10-04 Thread Henry
Dear Rasmus et.al. I am not wishing to reformat or display or mirror anything from google. This is for my own internal statistics. I hope that puts your mind at rest. Henry "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You realize that yo

RE: [PHP] Findng a pattern

2002-10-04 Thread Timothy J Hitchens
]+[.]*[0-9]*/", $string, $result); print_r($result); ?> Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! Sent: Saturday, 5 October 2002 2:50 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Findng a pattern Yes The string will always be the same and the repective values wi

Re: [PHP] Findng a pattern

2002-10-04 Thread Rasmus Lerdorf
You realize that you are asking us to help you violate the terms of service of Google? A direct quote from their terms of service: "You may not take the results from a Google search and reformat and display them, or mirror the Google home page or results pages on your Web site." -Rasmus

Re: [PHP] Findng a pattern

2002-10-04 Thread Henry
in the same order each time? > > > Timothy Hitchens (HITCHO) > [EMAIL PROTECTED] > > HITCHO has Spoken! > > > > > > > -Original Message- > From: Henry [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 5 October 2002 2:44 PM > To: [EMAIL PROTECTED] &

RE: [PHP] Findng a pattern

2002-10-04 Thread Timothy J Hitchens
Are the value in the same order each time? Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Henry [mailto:[EMAIL PROTECTED]] Sent: Saturday, 5 October 2002 2:44 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Findng a pattern Thanks, but I

Re: [PHP] Findng a pattern

2002-10-04 Thread Henry
(HiTCHO) > [EMAIL PROTECTED] > > HiTCHO has Spoken! > > > > > > > -Original Message- > From: Henry [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 5 October 2002 2:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Findng a pattern > > > Dear All, >

Re: [PHP] Findng a pattern

2002-10-04 Thread Henry
Thanks, but I don't want to uses google's SOAP interface, is there a preg type solution. "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Google has a SOAP interface for this. > > On Sat, 5 Oct 2002, Henry wrote: > > > Dear All, > > > > Excuse

RE: [PHP] Findng a pattern

2002-10-04 Thread Timothy J Hitchens
Are you saying you want to be able to extract the numbers etc? Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] HiTCHO has Spoken! -Original Message- From: Henry [mailto:[EMAIL PROTECTED]] Sent: Saturday, 5 October 2002 2:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Findng a pattern

Re: [PHP] Findng a pattern

2002-10-04 Thread Rasmus Lerdorf
Google has a SOAP interface for this. On Sat, 5 Oct 2002, Henry wrote: > Dear All, > > Excuse my ignorance but I'm STILL a newbie to this aspect of PHP. > > $str="Results 1 - 10 of about 14. Search took > 0.04 seconds." > > I would like to look for the string above in a buffer of text. However

[PHP] Findng a pattern

2002-10-04 Thread Henry
Dear All, Excuse my ignorance but I'm STILL a newbie to this aspect of PHP. $str="Results 1 - 10 of about 14. Search took 0.04 seconds." I would like to look for the string above in a buffer of text. However I would like to find it even if the numeric are different. Furthermore I would like t