Код (Text): function cp($x) { include_once("req.php"); include_once("/option/system.php"); include_once("prist.php"); include_once("session_class.php"); ******** } возможно ли каким то образом заставить это работать?
wir_wolf 1. Смените аватарку на реальную фотографию или удалите. 2. Что именно не работает-то? Код ошибки покажите или результат работы.
Код (Text): <? function getobkasticon($id){ include_once("config.php"); include_once("session_class.php"); include_once("persinfo_class.php"); $harnames=getharnames(); for ($i=1;$i<6;$i++) { if ($b[$i]) { echo '<B>'.$naz[$i].'</B><BR>'; foreach ($a[$i] as $key => $value) { if ($value!=0) { echo '• '.$harnames[$key].': '.($value>0?'+':'-').$value.'<BR>';} } echo '<BR>'; } } $res=db_use('query',"select o.*,th.name from obkast o left join thing_har th on th.id_thing2=o.id_thing2 where o.har<>'magic_timeout' and o.id_person = '".$id."' and o.obend>'".time()."' order by id_thing2"); unset($i);while ($i<mysql_num_rows($res)) { $i++;$s=mysql_fetch_array($res); if ($s['id_thing2']!=$th) { $th=$s['id_thing2']; echo '<B>'.$s['name'].'</B><BR>'; } /* echo ''.$harnames[$s['har']].': '.($s['value']>0?'+':'-').$s['value'].' (еще '.intval(($s['obend']-time())/60).' мин)<BR>'; */ echo '<SPAN style="position: relative; width:36; height:23" onmouseout=\'hideshow();\' onmouseover=\'fastshow("<B><U>'.$s['name'].'</U></B> (Эффект)<BR>Осталось: '; if(intval(($s['obend']-time())/60/60) > "1" ){echo intval(($s['obend']-time())/60/60); echo ' ч. '; $t = intval(($s['obend']-time())/60) - (intval(($s['obend']-time())/60/60) * 60); echo $t; echo ' мин. ';}else {echo intval(($s['obend']-time())/60); echo 'мин.';} echo'<BR><BR> ",300)\'><IMG src="/i/misc/icons/ele_addict_magicresist.gif" width=36 height=23></SPAN>'; } unset($harnames); } ?> ответ пустота
выставь error_reporting в E_ALL, смотри в error.log что там, ставь отладочные вывод echo смотри на какой строчке скрипт умирает. Короче отлаживай. Код (Text): ответ пустота по такому признаку, диагностику ошибку дать невозможно никак, телепатов нет
error.log не сказал мне нечего интересного... LuckyScrat просто оно не может выполнить include_once если я бы написал скрипт без него он бы работал