Search found 9 matches

by calvax
Tue Jan 19, 2016 1:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Knowing origin ip of a socket incoming connection
Replies: 1
Views: 1790

Knowing origin ip of a socket incoming connection

For example

accept connections on port 8040 with message "gotConnection"

in "gotconnection" script, how can I know source IP of the incoming connection?
thanks
by calvax
Thu Dec 31, 2015 10:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Quiz game
Replies: 1
Views: 1718

Quiz game

I would like to realize quiz game. In order to have possibility to add new questions and compare player's score, my app should access an online database. I have a web hosting with php and mysql. What is the correct procedure? A) Livecode app can directly access mysql records on my hosting by sql que...
by calvax
Wed Jan 04, 2012 1:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Compare Date and Time
Replies: 12
Views: 7625

Re: Compare Date and Time

Hi Tabbiati. I need to compare date/time too because I am programming something like scheduler/organizer and it's necessary to check if current datetime is > than deadline of event Which format of date time it's better to use? I think to convert to seconds and after compare, can be good idea? Can I ...
by calvax
Mon Jan 02, 2012 11:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Determine file type, like "file" cmd in unix shell
Replies: 6
Views: 4357

Re: Determine file type, like "file" cmd in unix shell

Yes I tought about reading binary data (I am interested to take jpg and png files and discard others) but I hoped that livecode has pre-prepared function to check file types. In such case I will make myself. If I will make and will work fine I will put online, maybe can be useful for somebody else. ...
by calvax
Mon Jan 02, 2012 10:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Determine file type, like "file" cmd in unix shell
Replies: 6
Views: 4357

Determine file type, like "file" cmd in unix shell

Hi, and sorry if I write again but I didn't find in dictionary or in documentation. Is there a function to determine file type, not from extension of it, but from reading the real header and footer of it. I mean the same function as the command "file" in unix shell. For example: In windows a jpg fil...
by calvax
Sun Jan 01, 2012 5:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Common objext for all cards of stack.
Replies: 2
Views: 2550

Common objext for all cards of stack.

Is it possible to create a button or field that exist in every card of stack? For example if I have 15 cards and I want a "quit" button active on every card, shall I create 15 different "quit" button, one for card, or it's possible to create only one, active for all cards? thanks
by calvax
Fri Dec 30, 2011 6:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: "Web Deployment Pack", can I see an example of online app?
Replies: 7
Views: 5295

"Web Deployment Pack", can I see an example of online app?

Hi, I am complete beginner and going to buy personal pack of windows-linux and Web Deployment Pack. Do you know if anywhere online I can play any working application made with livecode in Web Deployment Pack format, just to see how it plays (speed, compatibility with browser, etc). Just an example a...