Peter had a great idea for a new feature in BANano: Hello Alain, So you don't get bored ;), I have an idea for another BANano killer feature: ServerCode :) Imagine, it would be possible to write BANano code that could be used to program on both the client and server sides. Code blocks to be...
Dim result As BANanoObject = banano.Await(pdf.blob)
Dim f As BANanoObject
f.Initialize2("File",Array(Array(result), "testpdf.pdf", CreateMap("type": result.getfield("type"))))
banano.Await(SDUIShared.UploadFileOptionsWait(f, "../assets", "n"))
Dim result As BANanoObject = banano.Await(pdf.blob)
Dim f As BANanoObject
f.Initialize2("File",Array(Array(result), "testpdf.pdf", CreateMap("type": result.getfield("type"))))
banano.Await(SDUIShared.UploadFileOptionsWait(f, "../assets", "n"))
this is perfect,
in my assets there is a file "testpdf.pdf" !!!
but on log browser there is:
Uncaught (in promise) SyntaxError: Unexpected token '<', "<br />
<b>"... is not valid JSON
at JSON.parse (<anonymous>)
at banano_sithasodaisy_sduishared.uploadfileoptionswait (sithasodaisy.js:33:76209)
at async banano_webciurell_vendita.stampavendita (app1725186203367.js:3:102114)
at async banano_webciurell_vendita.tblvendite_btstampa (app1725186203367.js:3:97980)
ok;
now i save a pdf file into a folder named "documents" of website;
question:
how to send email with attached a pdf file ?
how to "run" a php script on website?
Hi Fam BANAnoInlinePhp is a functionality in BANano to call PHP functions. You can have PHP embedded in BANano inside #If PHP #End If tags. In AppStart, ensure that you configure PHP to work 'set php settings BANano.PHP_NAME = "appname.php" BANano.PHPHost = "http://www.mydomain.com/appname"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.