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 page from another site.
> Grab the HTML file.
> Parse it for the values I am looking for.
> And then plug it into variables for use on my site.
>
> Any ideas on the best way to do this??
Probably preg_matchall()
http://www.php.net/manual/en/function.preg-match-all.php
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php