November 23, 201015 yr Newbies Hi group, My first post here, so bear with me. I connecting to some FM files created with FMPro 8.5 that run on an server 11 setup so I can use the PHP API. This all works well, but I would like to grab the contents of some containers. People drop images (jpg and gif) and pdf files into this container. If I fetch the contents with PHP I keep getting "image" even though I know some are pdf files. I've tried several things, most solutions I've found on this forum as well do it the same way. When I use cURL and try to grab the headers there is no content-disposition, I was expecting them to force a mimetype to pdf (or some other) etc. The path is also "/fmi/xml/cnt/data.jpg?-db=..." when getting the field contents. See the .jpg file extension..... Any ideas? This is driving me nuts...!! TIA Rolf PS > If I check the same record in FMPro 8.5 and right click on the container I can select "Open Acrobat Document" so internally the contents of the container is still a correct pdf.
Create an account or sign in to comment