Search found 67 matches

by Kurzer
Mon Sep 21, 2020 11:06 am
Forum: Coding Questions
Topic: CreateMenu and style
Replies: 14
Views: 3553

Re: CreateMenu and style

Peter wrote:@Markus: $ is the short form of a jQuery command that you can use in SpiderBasic
Great, thank you Peter.
by Kurzer
Sat Sep 19, 2020 9:18 am
Forum: Coding Questions
Topic: CreateMenu and style
Replies: 14
Views: 3553

Re: CreateMenu and style

Hello Peter, I am desperately looking for more information about the ! $("#dijit_XYZ").css(...) [/b] syntax you use to change the appearance of Spiderbasic Gadgets. Unfortunately I don't find this kind of syntax in dojo / dijit tutorials. I have the current dojo source package in front of ...
by Kurzer
Mon Sep 07, 2020 7:21 pm
Forum: Coding Questions
Topic: Loading callback: How to pass a user variable?
Replies: 2
Views: 1167

Re: Loading callback: How to pass a user variable?

Wow, this is a remarkable method. :shock: But it would work, I suppose. Thanks for the food for thought.

Meanwhile, I've moved the loading part of the file out of my module. The user who is going to use the module has to take care of it.
by Kurzer
Sat Sep 05, 2020 7:37 am
Forum: Coding Questions
Topic: Loading callback: How to pass a user variable?
Replies: 2
Views: 1167

Loading callback: How to pass a user variable?

Hello colleagues, in SpiderBasic the loading of data must be realized with a callback and I need a hint how to pass a structure variable to the loading callback within a module. I work on a module which works with AllocateStructur() and each procedure of the module gets the address of the allocated ...
by Kurzer
Tue Sep 01, 2020 4:53 pm
Forum: Coding Questions
Topic: Data.i @Procedure() is not resolved correctly > Debug output
Replies: 1
Views: 1310

Data.i @Procedure() is not resolved correctly > Debug output

The address of a procedure is not resolved correctly when using in a Datasection. The following code shows under PureBasic the correct memory address of the procedure: Procedure Output() Debug "Hallo Welt" EndProcedure DataSection Proc: Data.i @Output() EndDataSection Define.i iProc Restor...
by Kurzer
Wed Aug 26, 2020 3:15 pm
Forum: Coding Questions
Topic: How to use php mail with SpiderBasic
Replies: 2
Views: 1228

Re: How to use php mail with SpiderBasic

You can use the command HTTPRequest() to pass data to a php file on the server.
by Kurzer
Wed Aug 26, 2020 2:33 pm
Forum: Tricks 'n' Tips
Topic: Module: Database Interface Spider <-> Server / DB
Replies: 4
Views: 3191

Module: Database Interface Spider <-> Server / DB

DBI database interface module for SpiderBasic - Version 1.11 - 19/Oct/2020. For a current project I needed a simple communication interface to allow my Spiderbasic application to communicate with a web server and a database running on it. The resulting SpiderBasic module DBI (database interface) I ...
by Kurzer
Fri Aug 07, 2020 9:51 am
Forum: Coding Questions
Topic: Cookies and SessionIds
Replies: 11
Views: 5073

Re: Cookies and SessionIds

Hi Markus, just to avoid any misunderstanding: I meant the F5 key in the SpiderBasic IDE, not the F5 key in the browser. If I copy the SpiderBasic compiled code regularly on the (local) web server and load it in the browser, everything works fine. Only if you start the code directly from the SpiderB...
by Kurzer
Fri Aug 07, 2020 8:32 am
Forum: Coding Questions
Topic: Cookies and SessionIds
Replies: 11
Views: 5073

Re: Cookies and SessionIds

Unfortunately, none of this helps if you start the SpiderBasic code from the IDE with F5. In this case the PHP script (or rather the server) generates a new session-ID for every HTTPRequest() coming from SpiderBasic. Even if you were able to successfully log in into a PHP login page at the first HTT...
by Kurzer
Thu Aug 06, 2020 9:22 pm
Forum: Coding Questions
Topic: Cookies and SessionIds
Replies: 11
Views: 5073

Re: Cookies and SessionIds

Dirk,

your problem was exactly my problem. If the problem (and a solution) is still relevant to you:
See here: https://www.purebasic.fr/german/viewtop ... 41#p357541

Grand Master Kiffi has the solution. :D

Markus