Php action to self | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Php action to self

how to link on my php file in this framework? action="my.php" and action=" " didn't work i try to submit post request and use different function on my php file

10th Jan 2018, 11:57 AM
Николай Кустов
Николай Кустов - avatar
1 Answer
+ 2
if($_SERVER["REQUEST_METHOD"] == "POST") This should check if you sent a request to that script
12th Jan 2018, 7:34 PM
Hexer Beta
Hexer Beta - avatar