A
A
Andrey2020-05-03 08:40:30
Nginx
Andrey, 2020-05-03 08:40:30

Is it possible to do without php to create a login?

I only have nginx on the server, but there is 1 script in php for creating game logins by players, and there you need to send a post request on the page (and this is only for php, it seems), and it turns out that because of one script I have to put in unnecessary php, and even before a bunch of everything superfluous.
Maybe there is some alternative something, and somehow it can be done on html? I know there are html forums, does such a forum use php?
Or maybe there are options on the pearl, tell me who knows.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2020-05-03
@andrey-marun

You can send an html form to anything, to nodejs, to go, to c++, to websocket, the main thing is that it receives data and processes it as it should.
And on perl you can, there is a module for nginx, experimental though

I
Igor, 2020-05-03
@loonny

  1. POST request is not "only php".
  2. I have never seen forums on html, please share, it is curious to look at it.
  3. Do you have a site that just generates nicknames? So just rewrite the code that nicknames generates in JS and that's it

A
Alexander, 2020-05-03
@NeiroNx

Why do you need a login if your site is static?
Store data in LocalStoreage - then login is not needed in principle, since each client has data stored locally. Of course, you can make a fictitious login - for the convenience of the client and the differentiation of his data - if several clients are from one computer.
You can also bind to any service with a login - for example, VK or Google

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question