Search found 266 matches

by thatkeith
Thu Sep 17, 2020 9:19 am
Forum: CGIs and the Server
Topic: Use send for file cleanup?
Replies: 6
Views: 168

Re: Use send for file cleanup?

Gotcha. Makes perfect sense. What I was wondering was would it (even) be possible to have the code in the web page have a 'send to handler in me in five minutes' so it would effectively do its own cleanup? How would that sit in this launch/run/die scenario? Cron is very likely the best option for th...
by thatkeith
Thu Sep 17, 2020 12:14 am
Forum: CGIs and the Server
Topic: Use send for file cleanup?
Replies: 6
Views: 168

Re: Use send for file cleanup?

Good call, definitely my fallback if I can't find a LiveCode specific method. I'm rather interested to know how that might be approached in a server environment with the script embedded in a web page! :?
by thatkeith
Wed Sep 16, 2020 11:12 pm
Forum: CGIs and the Server
Topic: Use send for file cleanup?
Replies: 6
Views: 168

Use send for file cleanup?

I have a site where images can be uploaded for exif data editing. The edited image is then downloaded by the user, but this leaves the images to build up on the server. Any suggestions for how I should automate a regular cleanup? Is 'send' a viable candidate for this, when it's all executed from cod...
by thatkeith
Sun Aug 30, 2020 10:38 pm
Forum: CGIs and the Server
Topic: Image file handling with LC on server?
Replies: 4
Views: 284

Re: Image file handling with LC on server?

[bows in thanks] :D
by thatkeith
Sat Aug 29, 2020 10:51 pm
Forum: CGIs and the Server
Topic: Image file handling with LC on server?
Replies: 4
Views: 284

Re: Image file handling with LC on server?

Hi Richard,

Thanks! I've just read through some of this and it is *definitely* going to help!

Wow. [grins widely]

k
by thatkeith
Sat Aug 29, 2020 6:23 pm
Forum: CGIs and the Server
Topic: Image file handling with LC on server?
Replies: 4
Views: 284

Image file handling with LC on server?

I have LC set up on one of my servers and I've managed to get myself into first gear (as it were) with very basic operations: returning HTML with logic-based content, and driving exiftool using shell(). But I'm still struggling to understand the core concepts and differences between LC running on re...
by thatkeith
Tue Apr 14, 2020 10:52 pm
Forum: iOS Deployment
Topic: Which camera, which lens?
Replies: 0
Views: 1094

Which camera, which lens?

Is there a way to select which lens is used when shooting on an iPhone with multiple front lenses?
by thatkeith
Thu Feb 20, 2020 11:03 pm
Forum: Talking LiveCode
Topic: Drag-drop image onto app icon?
Replies: 4
Views: 1473

Re: Drag-drop image onto app icon?

Reviving an old(ish) thread:

THANKS for this! I'm sorry I didn't say this before.

One more question: any suggestions for how I should try to get this working for Windows users as well?
by thatkeith
Wed Nov 27, 2019 2:42 pm
Forum: Talking LiveCode
Topic: cameraControlSet issue
Replies: 1
Views: 785

cameraControlSet issue

I'm refreshing my memory of LC tricks, which often means reminding myself of things by using examples from the LC Dictionary. The code samples provided there are very helpful... except when they don't work as expected – or at all. This is from the cameraControlCreate entry: cameraControlCreate "myFi...
by thatkeith
Fri Jun 28, 2019 4:47 pm
Forum: CGIs and the Server
Topic: Setting up a Rev CGI Environment in your Dreamhost Web Space
Replies: 14
Views: 23006

Re: Setting up a Rev CGI Environment in your Dreamhost Web Space

For a while I was still getting the same old error. In the end, after browsing the htaccess section of askapache.com, I put ".cgi" at the end of the livecode-server name and tweaked the htaccess reference – and it's working! Curious that you don't have to do that, but I am delighted to have found th...
by thatkeith
Wed Jun 26, 2019 11:30 pm
Forum: CGIs and the Server
Topic: Setting up a Rev CGI Environment in your Dreamhost Web Space
Replies: 14
Views: 23006

Re: Setting up a Rev CGI Environment in your Dreamhost Web Space

EDIT: I have found the answer! What I wrote originally (below) is not correct. Read the subsequent posts for the solution. Mod_alias is available but I was in a support chat today and this was what I was told – after he went through a few things to check. Perhaps things that need more than _alias p...
by thatkeith
Wed Jun 26, 2019 7:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to determine the color of a pixel?
Replies: 12
Views: 2285

Re: How to determine the color of a pixel?

Very helpful, both of you. Thanks! Time for some more pondering and testing... :)
by thatkeith
Wed Jun 26, 2019 7:42 pm
Forum: CGIs and the Server
Topic: Setting up a Rev CGI Environment in your Dreamhost Web Space
Replies: 14
Views: 23006

Re: Setting up a Rev CGI Environment in your Dreamhost Web Space

EDIT: I have found the answer! What I wrote originally (below) is not correct. Read the subsequent posts for the solution. After trying this for a while and chatting with Dreamhost's support team (who are always helpful) it turns out that running LiveCode Server as CGI is NOT possible in a shared s...
by thatkeith
Wed Jun 26, 2019 7:38 pm
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 63
Views: 39257

Re: POLL: LiveCode Server deployment

EDIT for posterity: it IS possible to run LC Server in Dreamhost shared server space. See the link to a different thread in Richard’s post below. --- Figured out the problem. Unfortunately it's NOT possible on Dreamhost's shared servers. Three Apache modules are required for livecode-server to run ...
by thatkeith
Wed Jun 26, 2019 6:59 pm
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 63
Views: 39257

Re: POLL: LiveCode Server deployment

Most of the posts seem to focus on the problems inherent in setting it up, which may be why we see so few actually programming it. I think you hit the nail on the head. I've asked for help from LC Towers, but no joy yet. I use shared hosting at Dreamhost and I'm happy with this; I'm hoping not to h...

Go to advanced search