Consider the code:
$arrText = file ("http://www.site.com/page.htm");
for ($i=0; $i<count($arrTe xt); i++) {
echo("$arrText[$i]\n");
}
(I did not test the snippet for errors)
The line breaks appear to be different from the original .htm file. Why?
Best,
Christopher
$arrText = file ("http://www.site.com/page.htm");
for ($i=0; $i<count($arrTe xt); i++) {
echo("$arrText[$i]\n");
}
(I did not test the snippet for errors)
The line breaks appear to be different from the original .htm file. Why?
Best,
Christopher
Comment