Skip to the content
Documentation

Existence of a http variable

No ratings yet

Your variable will be set to null if the requested http variable doesn't exist. If you take this into account in your template code, then you can just ignore the errors thrown.

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: Existence of a http variable

    Anton Hofmann ·

    Solve the problem by a user defined template operator like (extension...autoloads)
    function getGETp()
    {
    if(isset($_GET["p"]))
    {
    return $_GET["p"];
    }
    return 0;
    }