Re: [semi-OT] PDF on the fly

2022-09-15 Thread matthias rebbe via use-livecode
That is interesting. I tried here with content-length on on-rev and it works here with Version 15.6 (17613.3.9.1.5) of Safari. At least you've found a solution... > Am 15.09.2022 um 11:36 schrieb jbv via use-livecode > : > > I am using Safari 15.6 (15613.3.9.1.7, 15613) > > But I finally fo

Re: [semi-OT] PDF on the fly

2022-09-15 Thread jbv via use-livecode
I am using Safari 15.6 (15613.3.9.1.7, 15613) But I finally found the origin of the problem : put header "Content-Length: " & number of chars of myPDF After removing that line from the header, files download and display fine in Safari, as in other browsers. So far I have no rational explanatio

Re: [semi-OT] PDF on the fly

2022-09-14 Thread matthias rebbe via use-livecode
I just tested on quartz.on-rev.com with LC Server 9.6.0. I've created a textfile with a size of 1mb. tested with this script and it worked. I even tested with put header instead of put new header. Which version of Safari do you have? > Am 14.09.2022 um 22:44 sch

Re: [semi-OT] PDF on the fly

2022-09-14 Thread jbv via use-livecode
Hi guys, Thank you for your answers. No matter what I try, the problem remains the same on Safari. My LC script runs on my on-rev account, and it uses LC 9.6. Could this really be the problem ? Best, jbv ___ use-livecode mailing list use-livecode@list

Re: [semi-OT] PDF on the fly

2022-09-14 Thread matthias rebbe via use-livecode
I am running 9.6.5 on the server where i tested the script. > Am 14.09.2022 um 21:22 schrieb matthias rebbe via use-livecode > : > > I just checked here with a script i am using for years to provide the > download of a csv file and it still works with Version 15.6 (17613.3.9.1.5). > Is that the

Re: [semi-OT] PDF on the fly

2022-09-14 Thread matthias rebbe via use-livecode
I just checked here with a script i am using for years to provide the download of a csv file and it still works with Version 15.6 (17613.3.9.1.5). Is that the newest version? This is my script: put header "Content-Type: application/text" put header "Content-Length:" & the number of chars of tFil

RE: [semi-OT] PDF on the fly

2022-09-14 Thread Ralph DiMola via use-livecode
2:58 PM To: How to use LiveCode Cc: j...@souslelogo.com Subject: [semi-OT] PDF on the fly Hi list, I have a web site on which end users can select several options, and then click a button "show PDF", and a pdf containing various contents from a remote DB with a sophisticated layout is bu

[semi-OT] PDF on the fly

2022-09-14 Thread jbv via use-livecode
Hi list, I have a web site on which end users can select several options, and then click a button "show PDF", and a pdf containing various contents from a remote DB with a sophisticated layout is built server side in a second and automatically downloaded. The link of the button is something like