learning livecode server

Are you using LiveCode to create server scripts or CGIs?

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
Posts: 316
Joined: Tue Oct 28, 2008 1:23 am

learning livecode server

Post by adventuresofgreg » Tue Dec 22, 2015 10:41 pm

Hello: I'm just learning lc server right now, so forgive the elementary question. I'm still trying to understand exactly how this works. So, I have apache running, and I am able to create a .lc file that when viewed in my browser, returns the tutorial "hello world" and the date and time. However, I can't seem to get my script to work with another stack - as follows below. Am I going about this totally wrong? I'm just trying to figure out how to control a stack and retrieve data form it by using CGI inputs.

<title>My LiveCode Server Test Page</title>
<h1>My LiveCode Server Test Page</h1>
put "<p>Hello World! from LiveCode Server</p>"
put "<p>The date is" && the long date && the long time & "</p>"
put the defaultfolder
open stack "TestStack"
send mouseup to button "button"
put "<br>" & field "FieldA"

Post Reply

Return to “CGIs and the Server”