Re: Reading remote HTML results

From: Date: Tue, 22 Aug 2000 17:17:00 +0000
Subject: Re: Reading remote HTML results
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12980@lists.php.net to get a copy of this message
On Tue, 22 Aug 2000, Gregory Shohat wrote: > Greets, I am (newbie) trying to read webpage results from a URL and it's not > exactly working. > I am able to read from a file using fopen, but what I really need is to read > dynamic results, the same one that people see in the browser, such as > http://server/mystats.php3?id=myid > > That's not an actual file, so what function would I use to read the result > stream? > > Thanks in advance! > > -gs Simple just fopen("http://server/mystats.php3?id=myid", "r"); and go from there...should work just fine -- James Atkinson ----------------------------------------------------------------- James Atkinson 100world Technical Developer 512-1529 West 6th Avenue phone: +1-604-266-4490 ext.149 Vancouver, BC, V6J 1R1 fax: +1-604-742-1770 Canada email: james.atkinson@100world.com http://www.100world.com +---------------------------------------------------------------+ | This message may contain confidential and/or privileged | | information. If you are not the addressee or authorized to | | receive this for the addressee, you must not use, copy, | | discolse or take any action based on this message or any | | information herein. If you have received this message in | | error, please advise the sender immediately by reply e-mail | | and delete this message. Thank you for you cooperation | +---------------------------------------------------------------+

« previous php.general (#12980) next »