Home / PHP Tips Generated By ChatGPT / Sending a Custom HTTP Header in PHP Send a custom HTTP header using header(). Source Code header('X-My-Custom-Header: Value');