Locating erroneous php ouput
Posted: Mon Apr 18, 2016 1:48 pm
Hi,
I am using ajax to receive an xml document created by a php program. The program which outputs the xml document contains multiple required classes. One of the required classes is also sending out data (looks like print_r output) which causes ajax to not recognize the xml document.
I have searched for print_r, print, and echo but am unable to locate the culprit. Any suggestions would be appreciated.
I program using command line vi on a linux system running apache2 with php5 - nothing fancy. Do use php custom error handler (set_error_handler) for logging and error handling.
Thanks,
bzvine
I am using ajax to receive an xml document created by a php program. The program which outputs the xml document contains multiple required classes. One of the required classes is also sending out data (looks like print_r output) which causes ajax to not recognize the xml document.
I have searched for print_r, print, and echo but am unable to locate the culprit. Any suggestions would be appreciated.
I program using command line vi on a linux system running apache2 with php5 - nothing fancy. Do use php custom error handler (set_error_handler) for logging and error handling.
Thanks,
bzvine