Welcome Guest, Not a member yet? Register   Sign In
Filters and $_POST (or $request post vars)
#3

(07-29-2021, 02:19 PM)Gary Wrote: Try using $_REQUEST['Maint_Userid']... or whatever the form/post variable's name it is you want to access from inside the Filter.

Code:
public function before(RequestInterface $request, $arguments = null)
    {
        $maint_Userid = $_REQUEST['Maint_Userid'];
        $create_Userid = $_REQUEST['Create_Userid'];
        ...

That would get me the values in the POST. I'm looking to *add* values to the POST for processing (as in, for each POST, I want to add the user's ID for both the create and maint fields)
Reply


Messages In This Thread
RE: Filters and $_POST (or $request post vars) - by Kaosweaver - 08-02-2021, 06:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB