Bastien - Thanks for the tip. I tried setting auto_detect_line_endings=ON on my PHP.ini file (I am on a shared host - siteground), but the problem persists. The auto_detect_line_endings parameter on my local machine is OFF. Bastien Koert-3 wrote: > > On Sun, Sep 28, 2008 at 3:33 AM, giga501 wrote: > >> >> Hi - >> >> I am trying to attach a pre-defined PDF to a file generated at runtime >> (invoice.pdf). >> I have attached the test.php that I used to concatenate 2 pdfs. >> http://www.nabble.com/file/p19709464/test.php test.php >> >> I have also verified that I have the latest version of FPDF and FPDI. >> However, here is the error I get on executing the file on my server >> (shared >> host using CPanel) : >> FPDF error: Unable to find xref table - Maybe a Problem with >> 'auto_detect_line_endings' >> >> The functionality works fine on my localhost (WAMPServer, WinXP), so I am >> wondering if there are any other server parameters to look at ? >> >> Any ideas on what is wrong here? Thanks in advance. >> -- >> View this message in context: >> http://www.nabble.com/Concatenating-PDF-using-FPDI-tp19709464p19709464.html > >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > Its a setting in the php.ini file that may need to be changed. Line > endings > change from Winblows to Unix/Linux servers, so it may need to be reset > > > -- View this message in context: http://www.nabble.com/Concatenating-PDF-using-FPDI-tp19709464p19722844.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php