<?php
$a="123456789.exe";
if(strstr($a,"exe"))
{
echo "exe\n";
}
elseif(strstr($a,"123"))
{
echo "One two three\n";
}
else
{
echo "Nothing";
}
?>
<?php
$a="123456789.exe";
if(strstr($a,"exe"))
{
echo "exe\n";
}
elseif(strstr($a,"123"))
{
echo "One two three\n";
}
else
{
echo "Nothing";
}
?>