Konu
php kod düzenleme yardım +R10
04-10-2023, 17:22:49
#2
Legolas28
<?php function urlDondur($metin) { $url = '/(http|https|ftp|ftps)?(://)?(
www.)?
[a-zA-Z0-9-.]+.[a-zA-Z]{2,4}(/S*)?/'; return preg_replace($url, '<a href="$0" target="_blank" title="$0">$0</a>', $metin); } ?>