V
V
Vanya2016-01-13 18:51:50
HTML
Vanya, 2016-01-13 18:51:50

How to do calculation on server with html form data?

Hello.
I make a website with the time management method. The user selects an option (radio button), then writes the date, and this data is sent to the server, where it is run according to the formula (operations: subtraction, division and multiplication), and then the number is sent to the site.
Could you tell me, please, what language can be used to write this operation, taking into account that this language can be easily understood?
What do you need to have on the server to implement the calculation?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Valery Ryaboshapko, 2016-01-14
@valerium

I don't understand why PHP is considered easy to start with. In my experience, the mere existence of a php.ini file has caused the wildest amount of butthurt to beginners. Not to mention that the language itself is rather chaotic.
Try to start with Python. First, read the manual for the language itself (you can start right here ), then read the same manual for Flask (a miniature web framework, an application framework that does all the routine, and you just have to implement the logic). True, I'm not sure that there is good Russian documentation for Flask, I managed with the original.

R
romy4, 2016-01-13
@romy4

Van, php is the easiest. Since for it a) a server is installed in two clicks b) documentation is just a shaft
You will be advised node.js and so on, but do not listen, because you will spend more effort and evil on its installation and understanding.

E
entermix, 2016-01-13
@entermix

Could you tell me, please, what language can be used to write this operation, taking into account that this language can be easily understood?

Any server-side programming language like PHP (for easy understanding)

X
xmoonlight, 2016-01-13
@xmoonlight

PHP (backend), html/js (frontend), mysql (backend)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question