1a. with "fopen"
---------------
".$mail."\n";
}
}
fclose($mymfile);
?>
1b. with "fopen" and a different CSS class for "longer" email addresses
-----------------------------------------------------------------------
".$mail."\n";
}
else
{
echo "
".$mail."\n";
}
}
}
fclose($mymfile);
?>
2a. with "file"
---------------
$line)
{
echo "".$line."\n";
}
?>
2b. with "file" and a different CSS class for "longer" email addresses
----------------------------------------------------------------------
$line)
{
if (mb_strlen($line, 'utf8') <= "32") //32 is the string lenght, set it to what you need it to be
{
echo "".$line."\n";
}
else
{
echo "".$line."\n";
}
}
?>
Last modified: 2025-06-15 15:12:58