Hi all
I have two problems and I need help to solve them
I want to open a remote file and extrapolate some informations from it. That file is formatted in order to emphasize the informations I need to read. Information directly follows a HTML commentation tag and precedes a \n char as shown below
<!--THIS _IS_TO_NOTIFY_THAT_INFO_FOLLOWS-->This is info
</A></TD>
Could anyone tell me how to read it?
Then...
I use thisd code to open the file
....
$rf_url="http://www.domain.com/some_dir/index.jhtml?param1=1¶m2=2¶m3=3";
$handle = fopen($rf_url,"r") or die("Error: could not open remote file");
....
The file seems to be opened correctly but I can't read nothing
...
I tryed to execute this code
$teststr = fgets($handle, 4096);
echo $teststr;
but it didn't show anything
Any suggestions?
Thanks in advance for helps