find location of function php code example Example: php location <?php header('Location: http://www.example.com/');