Archive: Reading PHP into TXT


Reading PHP into TXT
Hi,
I want to read 2 lines from my server while running an installer.
there is a PHP file on my server that output 2 lines, like:

LINE1
LINE2
(a <br> is breaking the lines).

but when I use:
inetc::get /NOPROXY "http://site.com/samplefile.php" "$PLUGINSDIR\samplefile.txt"
FileOpen $4 "$PLUGINSDIR\samplefile.txt"
FileRead $4 $LINEONE
FileRead $4 $LINETWO
FileClose $4
$LINEONE is set to be "LINE1<br>LINE2", and
$LINETWO is empty.

how can I make FileRead to "understand" the <br> tag?

Thx

I replaced <br> with \0 (null char) and it solved the problem.