次のコードは、WindowsのWAMPで出力を生成していません。
MAMPで正常に動作します。
モジュールがないか何かだと思います。
$reportHash = str_replace(
array('+','/','='),
array('-','_',''),
base64_encode(file_get_contents('/dev/urandom', null, null, -1, 16)));
次のコードは、WindowsのWAMPで出力を生成していません。
MAMPで正常に動作します。
モジュールがないか何かだと思います。
$reportHash = str_replace(
array('+','/','='),
array('-','_',''),
base64_encode(file_get_contents('/dev/urandom', null, null, -1, 16)));