Answer the question
In order to leave comments, you need to log in
How to get POST, GET data in fat free?
Hello good people!
Recently started using php framework fat-free and faced this kind of issue for me.
$f3 = require 'lib/base.php';
$f3->route ( 'POST /', function () {
echo 'test1: ' . $_POST['test'];
echo 'test2: ' . $f3->post('POST.test');
echo 'test3: ' . $f3->post('PARAMS.test');
} );
$f3->run ();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question