How to use CGI in a web server on Repl
This isn't associated with any specific programming language, although I'm planning to use C++ with CGI, if you care to know.
Is it possible to use CGI on a web server on Repl.it? If so, how? Can anyone set up a basic example? My major problem is that I don't know how to do this on Repl.it, as opposed to my personal computer, although, I've yet to do this at all.
Is this possible using a NodeJS Repl?
I have found a Node JS CGI extension, but it uses JavaScript, so it's not just running an executable. Thus it was as useful as EJS, if not less.
I was going to attempt to eventually create a C++ server, would it be possible to do this without going though an extreme amount of work?
Django does have some kind of CGI support, but I don't know if it'll work or not. Your only choice is to try it yourself.
C++ has cgicc. Don't know if that's what you need, but it's there.
Any reason why you want to use CGI?
You have to agree with keeping as few different languages as possible, right?
You're not even restricted to using PHP. I mentioned Django (which is a Python framework), but there's also things like Node (haven't used it before, but there's quite a bit of content surrounding it here).
Also from what im reading on CGI, it can be slower than just doing it without CGI. As the server has to make new processes for the programs
I do like what you did with the html though.
and still, if you can do it without cgi you probably should
Tag()
nesting. I'm in the middle of redesigning it.
Hi,
Try using this repl: https://repl.it/@programmeruser/python-cgi-server
@xxpertHacker did this answer your question?