How to catch the output of http:// -> text file?
| From: | Kraa de Simon | Date: | Wed, 02 May 2001 09:58:18 +0000 |
| Subject: | How to catch the output of http:// -> text file? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51127@lists.php.net to get a copy of this message | ||
Hi,
PHP newbie.
Can anyone help me with the following?
Pseudo code:
for(i=1;i<2000;i++)
{
catch the output of
http://www.mysite.com/kb.html?kbid= <? echo i
?>
and put the html code in a text file called
/www/kb/kbid <? echo i ?> .html
}
So the end result is 2000 html files on disk "extacted" from the http://
address...
Thanks...
Met vriendelijke groet / With kind regards,
Simon de Kraa
ICL Logistic Systems
mailto:Simon.de.Kraa@icl.nl
---
Microsoft Windows 2000 Professional SP 1, Progress 9.1b, Roundtable 9.1b
SCO UnixWare 7.1.1, Progress 9.1a11