1)
if (eregi(‘http’,$deger)) {
echo ‘http bulundu’;
}
2)
$pos = strpos(‘http’,$deger);
if ($pos !== false) {
echo ‘http bulundu’;
}
3)
$check = explode(‘http’,$deger);
if (count($check) > 1) {
echo ‘http bulundu’;
}
Cümle içerisinde html geçip geçmediğini kontrol ediyor.