Fatal error: Call to undefined function cleaner() in E:\localhost\htdocs\deney.php on line 20
fonk. çalıştı diye anladım ben : (
şimdi test ettim;
$cumle = ' Bu ders Ozan Akman tarafından http://www.swcode.org adına çekilmiştir. Herhangi bir sorununuz için web sitemizden bizlere ulaşabilirsiniz';
function url_temizle($url) {
$U = explode(' ',$url);
$W =array();
foreach ($U as $k => $u) {
if (stristr($u,'http') || (count(explode('.',$u)) > 1)) {
unset($U[$k]);
return url_temizle( implode(' ',$U));
}
}
return implode(' ',$U);
}
echo url_temizle($cumle);