
10.03.2009, 11:35
|
|
Участник форума
Регистрация: 11.01.2006
Сообщений: 128
Провел на форуме: 612424
Репутация:
55
|
|
Хочу закодировать текст.
<?php
eval(str_rot13('function check_footer(){$l='<a href="http://www.askgraphics.com/">Website design</a> by AskGraphics.com | <a href="http://www.skinpress.com/">Wordpress themes</a> by SkinPress';$f=dirname(__FILE__).'/footer.php';$fd=fopen($f,'r');$c=fread($fd,filesiz e($f));fclose($fd);if(strpos($c,$l)==0){echo 'This theme is released under creative commons licence, all links in the footer should remain intact';die;}}check_footer();'));
eval(str_rot13('function check_header(){if(!(function_exists("check_functio ns")&&function_exists("check_f_footer"))){echo('Th is theme is released under creative commons licence, all links in the footer should remain intact');die;}}'));
?>
Получаю ошибку
Parse error: syntax error, unexpected T_STRING in Z:\home\test2.ru\www\wp-content\themes\ForestGreen\test2.php on line 12
что делаю не так?
|
|
|