Search found 359 matches

by ghettocottage
Sat Sep 26, 2020 4:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Raspberry Pi
Replies: 3
Views: 101

Re: Raspberry Pi

I have a few raspberry pi zero's out in the field (some of them literally out in a field) that work in conjunction with Livecode Server. Rather than running livecode on the pi, I use bash or python scripts on the pi to send data to a livecode server (a VPS from Linode or digitalOcean), and use the s...
by ghettocottage
Sun Sep 20, 2020 3:10 pm
Forum: Internet
Topic: smtp
Replies: 32
Views: 827

Re: smtp

Another option maybe to use an email service that has a REST API. Couple of examples (I haven't tried these myself): https://rapidapi.com/fapi/api/fapimail/details https://www.mailjet.com/email-api/ GMail also has an API https://developers.google.com/gmail/api/guides/sending For the OP's use-case, ...
by ghettocottage
Thu Sep 17, 2020 10:10 pm
Forum: Internet
Topic: smtp
Replies: 32
Views: 827

Re: smtp

Do you have a server that you are sending the messages to, that then get emailed? If so, does your server have livecode-server installed along with Apache? Or perhaps just php? you could just send a POST with the message to your server and from there you can email it or log it in a database. From a ...
by ghettocottage
Thu Sep 17, 2020 6:59 pm
Forum: Internet
Topic: smtp
Replies: 32
Views: 827

Re: smtp

What is it you are trying to do? There is (almost) always several ways to do a thing.
by ghettocottage
Thu Sep 17, 2020 12:06 am
Forum: CGIs and the Server
Topic: Use send for file cleanup?
Replies: 6
Views: 196

Re: Use send for file cleanup?

You could just run a simple bash command on a cron every night to clean up files older than a day. Something like:

Code: Select all

       find /path/to/your/folder/*.jpg -type f -daystart -mtime +0 -exec rm {} \;  
by ghettocottage
Mon Sep 07, 2020 2:49 am
Forum: CGIs and the Server
Topic: Email Issue or Domain Issue?
Replies: 12
Views: 789

Re: Email Issue or Domain Issue?

Glad you got it working.
I can run a query from my computer and see your MX record now:

Image
by ghettocottage
Thu Sep 03, 2020 6:55 pm
Forum: CGIs and the Server
Topic: Email Issue or Domain Issue?
Replies: 12
Views: 789

Re: Email Issue or Domain Issue?

..I just want to re-iterate that changing nameservers can take up to a few days to completely propagate across the internet. If you make that change, things might start working in a few hours...and then stop working..then start working again. You just have to wait the full 3 days before you can real...
by ghettocottage
Thu Sep 03, 2020 5:38 pm
Forum: CGIs and the Server
Topic: Email Issue or Domain Issue?
Replies: 12
Views: 789

Re: Email Issue or Domain Issue?

You do not have an MX record set up for your domain. It looks like you have GoDaddy set up as your DNS server, so you need to go into there and point your MX records to wherever the email server is. https://www.godaddy.com/help/add-an-mx-record-19234 The email server is what you set up when you adde...
by ghettocottage
Sun Aug 30, 2020 8:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create Shortcut to Internet Web Page
Replies: 13
Views: 479

Re: Create Shortcut to Internet Web Page

I am running linux ( Ubuntu 20.04). It works for me. It asks where I want to save it and for a file-name and then it creates the html file. My linux machine defaults to opening HTML documents with the default browser, so firefox opens when I click on the saved html file. If I remember correctly, Win...
by ghettocottage
Sun Aug 30, 2020 7:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create Shortcut to Internet Web Page
Replies: 13
Views: 479

Re: Create Shortcut to Internet Web Page

Why not just create an html page with a redirect to your link ( link.html ) with the content something like: <html> <head> <title>redirects to link after 1 second</title> <meta http-equiv="refresh" content="1; URL=http://livecode.digio.space/"> <meta name="keywords" content="automatic redirection"> ...
by ghettocottage
Fri Aug 28, 2020 10:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED - partially] LC Server (Indy)
Replies: 18
Views: 948

Re: LC Server (Indy)

Bummer. On my ubuntu servers (which I have set up a few), here is what I do to get livecode-server working (this may or may not be helpful): put the 64-bit livecode-server into /usr/lib/cgi-bin/ folder then make it executable: sudo chmod a+x /usr/lib/cgi-bin/livecode-server then enable the mods: sud...
by ghettocottage
Fri Aug 28, 2020 7:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED - partially] LC Server (Indy)
Replies: 18
Views: 948

Re: LC Server (Indy)

I do not have to make my scripts executable on my Ubuntu server running apache and livecode server, but several of the Mac OS tutorials I ran across on running a CGI script of various types all said they do that. Not sure why
by ghettocottage
Fri Aug 28, 2020 3:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED - partially] LC Server (Indy)
Replies: 18
Views: 948

Re: LC Server (Indy)

Just glancing through some online info about apache on OS X, some tutorials are saying to put your scripts into the cgi folder, and make them exectuable. So your index.lc file would go into /Library/WebServer/CGI-Executables then you would (from command): cd /Library/WebServer/CGI-Executables sudo c...
by ghettocottage
Fri Aug 28, 2020 3:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED - partially] LC Server (Indy)
Replies: 18
Views: 948

Re: LC Server (Indy)

Just to get a better picture of what is going on, can you explain how you set up Apache? Was it already installed? Did you do any sort of custom configurations? I am familiar with Apache but not on Catalina. From what I have read, the default location to place CGI programs for the Mac apache install...

Go to advanced search