Grahamsccs
Programmer
Hi all,
I wondered if anyone could help me. For a long time now, i've experienced problems with a Perl script whereby small sections of HTML code show up, sometimes terminating the script there and then. For example, it will show part of the script output, but terminate by actually displaying a small section of HTML code like "<td><font si". The snippet it shows is completely random, and when it occurs is also random. Technically speaking, it should produce the same HTML output every time, so why should this problem be so random?
The script itself is producing a calendar and booking display so there is a considerable amount of HTML. I've used a validator to make sure i've removed any potential errors, but the problem still remains. Could even small validation errors give rise to this random occurance?
I've combed the script many many times now. There is a content type of text/html printed in the headers along with the cookies and is working fine. The only other thing to note is that the script makes use of a mySQL database and runs a number of queries to produce the output. I've checked the entries and none of the text has strange quotes that could terminate the HTML, and even if it did, wouldn't it do it every time?
If anyone could suggest something to try, id be very grateful.
Graham
I wondered if anyone could help me. For a long time now, i've experienced problems with a Perl script whereby small sections of HTML code show up, sometimes terminating the script there and then. For example, it will show part of the script output, but terminate by actually displaying a small section of HTML code like "<td><font si". The snippet it shows is completely random, and when it occurs is also random. Technically speaking, it should produce the same HTML output every time, so why should this problem be so random?
The script itself is producing a calendar and booking display so there is a considerable amount of HTML. I've used a validator to make sure i've removed any potential errors, but the problem still remains. Could even small validation errors give rise to this random occurance?
I've combed the script many many times now. There is a content type of text/html printed in the headers along with the cookies and is working fine. The only other thing to note is that the script makes use of a mySQL database and runs a number of queries to produce the output. I've checked the entries and none of the text has strange quotes that could terminate the HTML, and even if it did, wouldn't it do it every time?
If anyone could suggest something to try, id be very grateful.
Graham