Hi,
I'm lost. I've been experimenting with File() trying to see if I can use it to extract some links from another web page. I can't get it to return anything... I have the following code:
<?php
echo "Hello??";
$f = file("c:\netlog.txt");
echo $f[2];
?>
The file I'm opening has about 50 lines of text in it, so there should be something in the array. I've tried different indices, no difference.
the echo statement runs, but I get nothing else, no errors, no nothing. Can someone tell me what's going on?