Jump to content

Can a website block the use of file_get_contents ?


idy

Recommended Posts

Can a website block the use of file_get_contents ?

 

Example : file_get_contents("http://www.google.com") works fine, but file_get_contents("http://www.petitscailloux.com/Follow.aspx?sUrl=http://www.seloger.com/199986/16271207/detail.htm") does not.

 

Any clues or ways to circumvent (use curl ?) ?

 

Thanks a lot !

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.