[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Executing lua script on webserver
- From: Rob Kendrick <rjek@...>
- Date: Fri, 6 Feb 2015 15:41:41 +0000
On Fri, Feb 06, 2015 at 04:37:06PM +0100, Michael Gerbracht wrote:
> Hello,
>
> I would like to generate a licence file using lua code involving some
> information from a website. So if user goes to my website, makes some choices
> and enters his personal data, this information should be passed to a lua
> script (e.g. by writing/reading a database entry) which takes the provided
> information and generates a licence file. This licence file should then be
> send to the user (via e-mail or download).
>
> My question is not about the lua script itself but I don't know whether it is
> possible to run a lua script on a webserver. Can you give me some hint
> whether this is possible and what it required to get it running? Also, is it
> likely that my hoster (domainfactory.de) will allow me to run a lua script on
> my website?
Ask them if they support CGIs, and how you should use CGIs with the
hosting. It's probably the simplest way of using Lua on a web server,
as it is simply stdio and environment variables.
B.