<?php $ok = file("fisier.txt"); foreach ($ok as $nr => $line){ $ss = explode(":",$line); $IP = trim($ss[1]); if (!empty($IP)) $content = file_get_contents('http://api.ipinfodb.com/v3/ip-city/?key=4e8d48cdc36fb87632873c5c93de9889d2c9454082c03e83dffbb46b34cb3260&ip='.$IP); print "[iP = $content]" } ?> [root@localhost ~]# php a.php PHP Parse error: syntax error, unexpected '}' in /root/a.php on line 9 [root@localhost ~]# Da am uitat sa pun ; dupa print ms .. merge...