dentro del foreach mete un if donde pongas la condición:
Cita: <?php
$url = "http***//ops.warrock.net/showprofile.aspx?p=435";
$lineas = file ($url);
foreach ($lineas as $linea_num => $linea)
{
if ($linea_num==155)
{
echo "Linea - <b>{$linea_num}</b> : " . htmlspecialchars($linea) . "<br>\n"; }
}
?>