php respond with header code example Example: header php location header('Location: http://www.example.com/');