function game_file(){
global $swf;
if(eregi('<frame', $swf)) {
echo $swf;
} else if(eregi('<embed', $swf)) {
echo $swf;
} else if(eregi('<iframe', $swf)) {
echo $swf;
} else if(eregi('.dcr', $swf)) {
echo '<script type="text/javascript">
<!--
dcr("'.$swf.'", "728", "490");//-->
</script>';
} else if(eregi('.swf', $swf)) {
echo $swf; Function eregi() is deprecated hatası
3
●515
- 14-03-2014, 23:12:49"Function eregi() is deprecated" şeklinde hata alıyorum aşağıdaki kodun oldugu kısımlarda. aşağıdaki kodları nasıl düzeltebilirim
- 14-03-2014, 23:34:13
function game_file(){ global $swf; if(preg_match("/<frame/i", $swf)) { echo $swf; } else if(preg_match("/<embed/i", $swf)) { echo $swf; } else if(preg_match("/<iframe/i", $swf)) { echo $swf; } else if(preg_match("/.dcr/i", $swf)) { echo '<script type="text/javascript"> <!-- dcr("'.$swf.'", "728", "490");//--> </script>'; } else if(preg_match("/.swf/i", $swf)) { echo $swf;denermisin.
şuanda tabletten yazıyorum. noktalama hatası yada yanlış yazım vs olabilir. - 14-03-2014, 23:39:18çok teşekkür ederim çözüldü bu şekildeS_HA_DO_W adlı üyeden alıntı: mesajı görüntüle