file_get_contents / url wrappers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi gang,

If i am trying to read the contents of url into a string and I am getting 403 errors yet the page will load perfectly through a normal browser, do u think the site is looking at the http request headers and determining it's not a browser and thus blocking access? If something like that was happening, does anyone know what headers i should put into a request to simulate a browser?

error msg :: <...> failed to open stream: HTTP request failed! HTTP/ 1.1 403 Forbidden in <...>

Any info is much appreciated.

Thanks - MD

...................................................................
Mike Dunlop
Director of Technology Development
[ e ] miked@xxxxxxxxx
[ p ] 323.644.7808



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux