Search found 17 matches
- Wed May 26, 2021 10:40 pm
- Forum: Coding Questions
- Topic: Spiderbasic invents query strings...?
- Replies: 6
- Views: 1533
Re: Spiderbasic invents query strings...?
Finally its working! Peter's crystal ball had it right - however he suggested: WriteCGIHeader("Access-Control-Allow-Origin:", "*", #PB_CGI_LastHeader) Apparently, the colon should not be included (looks like the library code adds it). The browser tools showed a message complainin...
- Wed May 26, 2021 10:05 pm
- Forum: Coding Questions
- Topic: Spiderbasic invents query strings...?
- Replies: 6
- Views: 1533
Re: Spiderbasic invents query strings...?
cgiprinter does not have any extension at all - I renamed the exe file PB created.
Will check if the dev. tools reveal anything else ...
Will check if the dev. tools reveal anything else ...
- Wed May 26, 2021 7:45 pm
- Forum: Coding Questions
- Topic: Spiderbasic invents query strings...?
- Replies: 6
- Views: 1533
Re: Spiderbasic invents query strings...?
Thanks for your suggestions, but I am still stuck - guess I'll have to post the full details: Everything below running on the same Windows 10 PC, Webserver is Abyss running on 8080 Spider client EnableExplicit Global GadgetID, WindowID #Window = 1 #Button = 2 Procedure ShowWindow() If OpenWindow(#Wi...
- Wed May 26, 2021 3:48 am
- Forum: Coding Questions
- Topic: Spiderbasic invents query strings...?
- Replies: 6
- Views: 1533
Spiderbasic invents query strings...?
I point this request @ a cgi program created with PB (all of this under Windows 10, running Abyss as Web Server) HTTPRequest(#PB_HTTP_Get, "http://127.0.0.1:8080/cgi-bin/cgiprinter", "", @HttpGetEvent()) and it fails with HTTP Error - the log entry for this attempt: 127.0.0.1 - -...
- Tue Jan 26, 2021 5:06 pm
- Forum: Coding Questions
- Topic: SpiderBytes question
- Replies: 2
- Views: 1034
Re: SpiderBytes question
Thanks for the quick reply! I was more worried about having to maintain compatible structures on 'both sides'...
- Tue Jan 26, 2021 5:02 pm
- Forum: Coding Questions
- Topic: Newbie question
- Replies: 2
- Views: 1007
Re: Newbie question
Thanks for the detailed explanation, Paul!
- Tue Jan 26, 2021 4:19 am
- Forum: Coding Questions
- Topic: SpiderBytes question
- Replies: 2
- Views: 1034
SpiderBytes question
I just read up on it and it seems to me that currently it cannot be used for database access as structured lists cannot be passed...
Is that a valid assessment or did I miss something?
Thanks!
Is that a valid assessment or did I miss something?
Thanks!
- Tue Jan 26, 2021 1:21 am
- Forum: Coding Questions
- Topic: Newbie question
- Replies: 2
- Views: 1007
Newbie question
Just running the Gadget.sb demo code from the Gadgets help
The code led me to believe that pressing the QUIT button would hide the window - but nothing at all happens...
Am I missing something? Bug?
The code led me to believe that pressing the QUIT button would hide the window - but nothing at all happens...
Am I missing something? Bug?
- Tue Jun 16, 2020 2:34 am
- Forum: Coding Questions
- Topic: Can't read unicode file created by PB
- Replies: 2
- Views: 1634
Re: Can't read unicode file created by PB
Well, it appears to be the age old issue with CR/LF vs LF line termination. Be aware, that if you use GIT (or some other version control?) that CVS systems sometimes wreak havoc on line termination as well if not configured properly. It should be trivial to add support for both formats. Fred's alrea...
- Tue Jan 29, 2019 7:21 pm
- Forum: Coding Questions
- Topic: Newbie Port/Webserver issue
- Replies: 4
- Views: 1843
Re: Newbie Port/Webserver issue
I just installed SB beta 3 on a brand new machine and here I see almost the same results: I did not modify the default port in Preferences, so it is set to 9080. Project A has a port of 9080 in its URL Project B has a port of 9081 in its URL On the new machine, both run fine (on the old machine, onl...