Re: [PHP] Pulling Data From a Page

2006-11-06 Thread Robert Cummings
On Mon, 2006-11-06 at 11:59 -0800, Phillip Baker wrote: Greetings All, Have something that I am sure is easy to do, just never done it before and would like some guidance here. I need to pull treasure yield percentage rates into a loan site I am working on. So basically I want to hit a

Re: [PHP] Pulling Data From a Page

2006-11-06 Thread Google Kreme
On 06 Nov 2006, at 12:59 , Phillip Baker wrote: So basically I want to hit a page from another site. If you are going to be polling another site and parsing it for data you'd better have permission to do so. -- I find Windows of absolutely no technical interest... Mac OS X is a

Re: [PHP] Pulling Data From a Page

2006-11-06 Thread Richard Lynch
On Mon, November 6, 2006 1:59 pm, Phillip Baker wrote: Grab the HTML file. You have correctly identified it as a FILE. Try looking on the php.net site for FILE functions. http://php.net/file_get_contents echo htmlentities(file_get_contents('http://php.net/')); Parse it for the values I am