Search found 49 matches

by loulou2522
Sun Dec 05, 2021 2:16 pm
Forum: Coding Questions
Topic: how to call a PHP script?
Replies: 3
Views: 635

Re: how to call a PHP script?

Yes then formular is good, but take care bexause with post request and according to Browser the length of the request including the url is limited. I don't know the exact limit but it vary from 2048 ko to 4096 ko
by loulou2522
Tue Nov 09, 2021 4:32 pm
Forum: Coding Questions
Topic: Sending a file to server with httprequest
Replies: 1
Views: 685

Sending a file to server with httprequest

How can I send an xml file generated on the client to the server? When I use httprequest, I get an error message Procedure HttpGetEvent1(Success, Result$, UserData) If Success debug result$ Debug "Successful connection for PDF file calculation". Else debug result$ Debug "Error: No Con...
by loulou2522
Fri Oct 22, 2021 5:47 am
Forum: Coding Questions
Topic: Docautotable Help
Replies: 1
Views: 928

Re: Docautotable Help

No one can help me ?
by loulou2522
Mon Oct 18, 2021 11:42 am
Forum: Coding Questions
Topic: Docautotable Help
Replies: 1
Views: 928

Docautotable Help

Hi all, What is wrong in my programm ? I don't arrive to anything Procedure Main() !function generate() { ! var doc = new jsPDF('p', 'pt', 'letter'); ! var htmlstring = ''; ! var tempVarToCheckPageHeight = 0; ! var pageHeight = 0; ! pageHeight = doc.internal.pageSize.height; ! specialElementHandlers...
by loulou2522
Sat Oct 16, 2021 2:36 pm
Forum: Coding Questions
Topic: Help with jspdf
Replies: 2
Views: 732

Re: Help with jspdf

Right Peter,
I have deleted the duplicate Post.Thnaks that's work now
Have a good wek end
by loulou2522
Sat Oct 16, 2021 12:16 pm
Forum: Coding Questions
Topic: Help with jspdf
Replies: 2
Views: 732

Help with jspdf

HI all I try to implement directly JSPDF but it dosen't work; can someone Help me ? ! require(["https://unpkg.com/jspdf@latest/dist/jspdf.umd.min.js"], function(jsPDF) { ! window.jsPDF = jsPDF.jsPDF; ! }); !var doc = new jsPDF( 'p', 'mm','a4'); !doc.setFont("arial narrow"); !doc....
by loulou2522
Tue Oct 05, 2021 8:23 am
Forum: Coding Questions
Topic: Httprequest and downloading XML FileHow to ?
Replies: 9
Views: 1557

Re: Httprequest and downloading XML FileHow to ?

Thanks Paul that'work perfectly. But i have a problem with PDF File the file arrive corrupt localy and can't be view. I try a lot of things but noone works here is my programm Procedure HttpGetEvent(Success, Result$, UserData) If Success Debug Result$ Createfile(0,"result.pdf",@toto(),#PB_...
by loulou2522
Mon Oct 04, 2021 2:43 pm
Forum: Coding Questions
Topic: Httprequest and downloading XML FileHow to ?
Replies: 9
Views: 1557

Httprequest and downloading XML FileHow to ?

I want to download n xmlfile creating on website part
Global url.s="https://sepa-convertir.eu/spider/toto.xml"
HTTPRequest(#PB_HTTP_Get, url, "", @HttpGetEvent())
How to ?
THanks
by loulou2522
Sun Oct 03, 2021 4:48 pm
Forum: Coding Questions
Topic: XML and ?xml version How to
Replies: 1
Views: 596

XML and ?xml version How to

How to put tha't instruct on the xml file in purebasic it is automaticly
<?xml version="1.0" encoding="UTF-8"?>
Thanks
P.S I use ExportXml and not composeXML
by loulou2522
Sat Sep 25, 2021 6:30 am
Forum: General Discussion
Topic: Payments with Stripe
Replies: 2
Views: 1992

Re: Payments with Stripe

You can program STRIP in PHP. After you have just to use CGI httprequest to work with. Beware it seem than MYSQL Opendatabase create problem.