Search found 557 matches

by AxWald
Sun May 30, 2021 5:27 pm
Forum: CGIs and the Server
Topic: LC Server database connection
Replies: 15
Views: 10214

Re: LC Server database connection

Hi, doesn't change anything. I've tried all sorts of parameter combinations - but all I get is a "expression error". As if the server wouldn't have its "revdb.so" & so would not recognize the db functions. But they're in the appropriate directories, and I even tried to chmod 755 them. Is there a way...
by AxWald
Sun May 30, 2021 11:30 am
Forum: CGIs and the Server
Topic: LC Server database connection
Replies: 15
Views: 10214

Re: LC Server database connection

Hi, just to clarify: I want a LC Server, running on a Linux server as CGI processor, to connect to a mySQL on this same Linux server. The mySQL works fine, I can easily connect to it via PHP. The LC server works fine, I can throw all kinds of scripts at it & it replies faithfully. My connection stri...
by AxWald
Fri May 28, 2021 11:23 am
Forum: Windows
Topic: Mac not compiling into Windows
Replies: 18
Views: 9857

Re: Mac not compiling into Windows

Hi, (just see Klaus was faster. I'll post my stuff anyways.) a few hints: 1.) If you compose a post, look at the icons above your text input field: "</>" will wrap the selected text in "code tags": it will look like this then ;-) Much more easy to read, and comprehend. Thus much more easy to help. 2...
by AxWald
Thu May 27, 2021 4:05 pm
Forum: CGIs and the Server
Topic: LC Server database connection
Replies: 15
Views: 10214

Re: LC Server database connection

Hi,

"revdb_connect" and "revOpenDatabase" are equivalent.
I prefer the "revdb_*" versions because they're all functions, and because they all share a significant beginning.

Have fun!
by AxWald
Thu May 27, 2021 3:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Operating system code test request...
Replies: 56
Views: 18590

Re: Operating system code test request...

Hi,

btw:

Code: Select all

   get url "http://api.infoip.io/"
works on Android, too :)

In my case (location disabled, not @ city central, so no known WIFIs) it returns the same quite far off location as on desktop.

Have fun!

Edit: Added location info
by AxWald
Thu May 27, 2021 12:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Operating system code test request...
Replies: 56
Views: 18590

Re: Operating system code test request...

Hi, I don't have a win10 box to test on anymore, so maybe I'll put a disclaimer on it that Windows results may be "iffy" hee hee. Win 10-64 pro (21H1), LC 6.7.10 & 9.6.2 rc3 both: put shell("curl ipinfo.io") gives the info as mentioned by others, location is about 10km off. put shell("curl ipinfo.io...
by AxWald
Thu May 27, 2021 12:11 pm
Forum: CGIs and the Server
Topic: LC Server database connection
Replies: 15
Views: 10214

LC Server database connection

Hi, there's something I'm doing wrong. What is it? <?lc put revdb_connect("mysql", "localhost", "DBName", "DBUser", "DBPassword") ?> This should return a connectionID, right? Not: Function: error in function handler (revdb_connect) If I do a "try" I get ErrNums 219 and 223 (Error in expression/ func...
by AxWald
Tue May 25, 2021 10:32 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Operating system code test request...
Replies: 56
Views: 18590

Re: Operating system code test request...

Hi, looks like they use a geolocation API. This may give good location data on a mobile with calibrated GPS, but will usually give an awfully wrong location for a desktop machine. It looks for GPS first. If there's none, it will try to find the loc based on charted WIFIs in the area. If this fails t...
by AxWald
Sat May 15, 2021 6:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Go card x of stack y in the window of this stack
Replies: 15
Views: 6106

Re: Go card x of stack y in the window of this stack

Hi, dunno if it helps you, but that's the code I use for stack switching on mobile: set the effectRate to gPrefArr["visEffSpeed"] lock screen for visual effect go cd 1 of stack theTargetStack in the window of this stack unlock screen with visual effect gPrefArr["visEffUp"] very slow I assume the var...
by AxWald
Fri May 14, 2021 9:16 am
Forum: Talking LiveCode
Topic: I can't see the bottom area of the script editor.
Replies: 7
Views: 3565

Re: I can't see the bottom area of the script editor.

Hi, Have been advised to delete the preferences but I'm a bit scared, I'll wait for some other suggestion or try other options. :) Deleting the prefs is no big deal. Restoring the old setting is quickly done, usually. For some strange reasons LC seems to corrupt the prefs in quite regular intervals,...
by AxWald
Sat May 08, 2021 10:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: "Downloading" a file to an online folder ? possible
Replies: 5
Views: 3423

Re: "Downloading" a file to an online folder ? possible

Hi, guess we'd need to know: What do you get with: get URL ("binfile:" & firstPartOfSourceURL & "Handlerexec.asmx") An excel file? This would be easy. Second question: . Where should this go to? Doesn't: put it into URL ("binfile:" & firstPartOfTargetURL & TargetFileName) do the job already? Have fun!
by AxWald
Wed May 05, 2021 9:07 am
Forum: Android Deployment
Topic: How do I open a pdf file via a link on a website?
Replies: 9
Views: 4420

Re: How do I open a pdf file via a link on a website?

Hi, Very often the use of PDFs is questionable, IMHO - the PDF format was meant as a read-only, digital version of a printed page. There's quite some use cases where it actually makes sense - the digital transmission of documents (in a legal sense), for instance. Most often, though, a PDF isn't more...
by AxWald
Tue May 04, 2021 11:54 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Using dispatch command to another card gives error
Replies: 30
Views: 10627

Re: Using dispatch command to another card gives error

Hi, I am using the dispatch command eg: (dispatch "TurnButtonRed" to card 1), but it gives a ( Chunk: no such object ) error. However, it works if I specify the path of the object to it's own card within the card's script. ---This code on card 1 doesn't work when using the dispatch command from card...
by AxWald
Fri Apr 30, 2021 8:54 pm
Forum: CGIs and the Server
Topic: Livecode Server performance
Replies: 35
Views: 21915

Re: Livecode Server performance

Hi, all tests was done on the same shared server @ All-Inkl.com. My own local Ubuntu server has been retired - getting CGI to work in my available time was too difficult a task. Seems if you read 3 specific Linux how-to's you learn 4 different "solutions", and quite often none of it applies ;-) As f...
by AxWald
Fri Apr 30, 2021 1:34 pm
Forum: CGIs and the Server
Topic: Livecode Server performance
Replies: 35
Views: 21915

Re: Livecode Server performance

Hi, What is the complete script? I used " put $_SERVER["REMOTE_ADDR"] " (LC) resp. " echo $_SERVER['REMOTE_ADDR']; " (PHP) for my test. [...] it may be helpful to run the test I noted above in the IDE to get a better feel for what that particular test is - and isn't - showing us. You mean this one? ...

Go to advanced search