PHP doesn't seem to be generating HTML properly
Posted: Tue Nov 21, 2006 12:08 pm
Hello.
For some odd reason PHP has started to generate HTML incorrectly depending on where I access the file from.
Firstly, if I run the script from a shell using 'php <file>.php' the HTML is there and correct. But if I try and access it from a web browser it stops generating at a certain point, I can tell this by viewing the source of the web page.
Has anyone come across this before?
Stephen,
For some odd reason PHP has started to generate HTML incorrectly depending on where I access the file from.
Firstly, if I run the script from a shell using 'php <file>.php' the HTML is there and correct. But if I try and access it from a web browser it stops generating at a certain point, I can tell this by viewing the source of the web page.
Has anyone come across this before?
Stephen,