On Sun, Sep 28, 2008 at 3:33 AM, giga501 <nagarajpotti@xxxxxxxxx> 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 > 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 > > 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 -- Bastien Cat, the other other white meat