Skip to content
This repository was archived by the owner on Mar 29, 2022. It is now read-only.
This repository was archived by the owner on Mar 29, 2022. It is now read-only.

Its better to use filter_input #7

@ghost

Description

For line 30 31 and 31 Login.php

// The parameter values 
        $query_params = array( 
            ':username' => $_POST['username'] 
        ); 

I think you should use

$name = filter_input(INPUT_POST, 'username', FILTER_SANITIZE_STRING);
$query_params = array( 
            ':username' => $name
        ); 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions