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