V
V
VctorIAN2021-07-05 00:29:38
PHP
VctorIAN, 2021-07-05 00:29:38

Is it possible in the form to refer not to a php file, but to a function from a php file?

Hello, working with forms and rage framework I would like to use one php file for registration/login/recovery. How can i do this

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Dubrovin, 2021-07-05
@alekcena

The easiest.
When requesting a file, pass a GET or POST parameter with the type you want to do.
Further in the file you make a condition for this parameter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question