I have a PHP script in my server that redirects the page using Location: $url
entry in header.
But, the request header is not being transmitted to $url
.
I see a minimum header defined with User-Agent, Connection, etc.
Let's suppose that I customize some header parameters. I would like to transmit them after redirection.
Is it possible? I would not like to use CURL for that.