SonicWall があるとfile_get_contents,fsockopen が利用できない。

  1. Login to the SonicWALL Management Interface.
  2. https://[SonicWALL Management IP address]/diag.html
  3. Click Internal Settings.
  4. Deactivate the 'Enforce Host Tag Search with for CFS' check box.
  5. Click Apply then Close to save the change and return to the regular management interface.

https://bugs.php.net/bug.php?id=40197

https://www.fuzeqna.com/sonicwallkb/consumer/kbdetail.asp?kbid=3582

-file_get_contents.php

<?php 
$httpfile  = file_get_contents("http://www.google.com/index.html"); 
print $httpfile; 
?>