"Mike Darrett" <mike-nospam@darrettenterprises.com> schrieb im Newsbeitrag
news:d945119c.0305021419.3f461b9f@posting.google.c om...
> Hello,
>
> I'm trying to get a whole bunch of HTML source from a website (which I
> do not own, but am merely trying to read):
>
> [url]https://www.blahblah.com/cgi-bin/Num=xxxx[/url]
>
> where I have a list of numbers xxxx in a file.
>
>
> I would love to run lynx and simply redirect the html dump to a file,
> but alas, I do not have access to lynx either. So, perhaps I can
> write a PHP script to do this?
>
> readfile( "https://www.blahblah.com/cgi-bin/Num=xxxx" ) does not work:
>
> Warning: readfile("https://www.blahblah.com/cgi-bin/Num=xxxx") - No
> such file or directory
>
> What am I doing wrong?
>
> Thanks,
>
> Mike Darrett
hey mike - maybe this will give you a clue:

[url]http://www.php.net/manual/en/function.file.php[/url]

all you do is stick the html source in an array - each element holds a
line - then you just run through the array and print it.