[UPHPU] PHP reading html

John David Anderson uphpu at johndavidanderson.net
Tue Apr 3 16:36:08 MDT 2007


On Apr 3, 2007, at 4:30 PM, Webot Graphics wrote:

> Is there a way to have PHP read the contents of another html page?

http://php.net/curl

Or you can use

$handle = fopen("http://www.example.com/", "r");

Depending on your setup.

> The company I work for doesn't have a system for tracking their  
> shipments and I was wondering if I could have a php page read a  
> page from DHL's website.

Can't you forward them to a place on their website that shows  
tracking info?

-- John


More information about the UPHPU mailing list