Is it possible to send some headers request with file_get_contents($url) while opening URL streams?
For example, to send the HTTP_REFERER?
How?
Is it possible to send some headers request with file_get_contents($url) while opening URL streams?
For example, to send the HTTP_REFERER?
How?
Why don’t you look at the example at www.php.net/file_get_contents where they show you how to send headers while using the function? It’s in the 4th example if I’m not mistaken.