Page 1 of 1

Problem of GetPage() in the Script

Posted: 2003-03-22 09:25:47
by Heartos
Hi,

While I made the Script for http://films.hitel.net, I found a problem of GetPage().

In the Webpage &lt was used. When GetPage() meets &lt in the taget page, all the words next to &lt are lost.
This result was confirmed by using ShowMessage().

How can I solve this problem?

Modify..

Posted: 2003-03-22 09:27:45
by Heartos
Abolve, &lt means &lt

Posted: 2003-03-22 10:53:20
by antp
If I remember well, it is a server-side bug that puts a byte at zero (value = 0) after this character. The functions that I use to download the file seems to cut the text when they found a 0 (which is used in C and Windows API functions as end-of-string symbol).

Posted: 2003-03-22 17:25:36
by Heartos
Thanks for your speedly answer.