I have a project of video broadcasting in which I need to provide the downloading option. I have used Justin.tv api they send a URL to download the video file when i hit that URL I got 403 forbidden error. I have discussed this problem with their concerned person he replied:
Browsers will get the 403 error, you need to either proxy the file through your server (by removing the User-Agent header) or tell users to use a download manager.
Definitely the latter one is not good idea. Now I am stuck with sending request without user agent headers. How can I do this (using PHP)? I have Googled it but did not find anything helpful.