using /php/admin/display/inc_print.php file
I need to save incident threads from a custom script in HTML format. I tried to utilise the script /php/admin/display/inc_print.php with get_file_contents() and cURL library but they both return null. I have included incident reference number and session id when calling the inc_print.php.
Has anyone tried to using the inc_print.php script from a custom script before?