Due to hotlink protection I'm having difficulty displaying images. The http request send in order to obtain the images contains a non empty referer header. This causes the hotlink protection to kick in.
Using a referer control tool, I can block the referer, which bypasses hotlink protection. However now I want to do this in a PHP/HTML/javascript code. I found information that it is possible, but I don't fully understand how to implement it.
Can some one give me a hand? Thanks in advance!
FYI: I have permission of the website to do the hotlinking, as it's for an android app. However they cannot provide me with an API.