Illegal use of $_REQUEST. You must use the request class to access input data

this is the piece of the code error happens on:

$sql = "SELECT crany_name, crany_breed, crany_gender, crany_level FROM phpbb_crany WHERE crany_user=$lair ORDER BY crany_id;";
$result = mysqli_query($conn, $sql);

if (mysqli_num_rows($result) > 0) {
    // output data of each row
    while($row = mysqli_fetch_assoc($result)) {
        echo "<img src='".$row["crany_breed"]."' alt='crany'><br>";
        echo "name: " . $row["crany_name"]. "<br> ";
        echo "level: " . $row["crany_level"]. "<br> ";
        echo "--------------------------------------<br>";


the page codes are belong to it is

A Google search for the article pointed me to some security restrictions imposed by phpBB. Does an article like this help?

1 Like

well. i was wondering about disabling from Server and it isn’t :slight_smile:

Thank you. that works ^^

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.