Let's say I have a video located at address: A.
And I have a PHP web server running at address: B.
Now, when I (as a user) go to B, I want B to send video (located A) contents to me, but I don't want it to happen directly (as a user, I don't want to see/go to A's location directly), instead I want it to happen through B. In other words I want my request of video first go to B and then I want B to go to A and send relevant chunk of video to me, effectively acting as a proxy.
How is that possible in PHP?
Detailed context:
Some video websites have enforced country wide rate limiting, so when you live in a different country, you can hardly stream the video (Super slow) from them. What I'm trying to achieve is, I'm buying a cheap server (B) in the same country as video website (with very small disk size, so downloading the whole video on server is not possible) and then I'm trying to watch those videos through my server B where B is basically serving as a bridge between my video request and video itself.