So im trying to access an image source using following:
<img src="https://www.example.com/serve_image.php">
but in order for the url to return an image i must first send a specific header to it. How could that be done?