file_put_contents("kris.txt", "$ip:$port\n",FILE_APPEND);
作成します
127.0.0.1
:1575
それ以外の
127.0.0.1:1575
127.0.0.1:1575 [IP:PORT] という 1 行で結果を取得したいと思います。
127.0.0.1:7575
127.0.0.1:1575
127.0.0.1:4574
127.0.0.1:6554
それ以外の
127.0.0.1
:7575
127.0.0.1
:1575
127.0.0.1
:4574
127.0.0.1
:6554
等