PHP输入中的意外字符:‘’’;(ASCII=39)

PHP输入中的意外字符:‘’’;(ASCII=39),php,Php,我的一个朋友在她所有的网站上都发现了这个错误。它们都在同一台服务器上,由外部托管。(托管公司表示,它们无法帮助解决脚本问题。典型情况。) 每个站点甚至给出了确切的行号,但它们都使用不同的Index.php文件。我在这里有点不知所措,以前有人见过这样的事情吗 Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/xxxx/public_html/index.php on line 17 Parse erro

我的一个朋友在她所有的网站上都发现了这个错误。它们都在同一台服务器上,由外部托管。(托管公司表示,它们无法帮助解决脚本问题。典型情况。)

每个站点甚至给出了确切的行号,但它们都使用不同的Index.php文件。我在这里有点不知所措,以前有人见过这样的事情吗

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/xxxx/public_html/index.php on line 17

Parse error: syntax error, unexpected '.' in /home/xxxx/public_html/index.php on line 17
下面是index.php文件的内容之一,第1-25行左右

<?php get_header(); ?>
<link rel="shortcut icon" href="favicon.ico" >

<div class="left-navi-blog">

    <?php include "left-sidebar.php";?>

</div>

<div class="center-blog">
<?php if (have_posts()) : ?>


        <?php while (have_posts()) : the_post(); ?>

<div class="post-title">
<strong><a id="post-<?php the_ID(); ?>" href="<?php the_permalink() ?>" rel="bookmark" title=" <?php the_title(); ?>"><?php the_title(); ?></a></strong> - 

                      <ahh class="post-title-meta"><?php the_time('F j, Y') ?> by 

                             <?php the_author() ?></ahh>
</div>

-
通过

实际上你的网站被黑客入侵了。这也发生在我身上。所有php文件都会受到影响。确保您拥有非常安全的密码。查看您的ftp日志。可能会有大量的下载和上传。他们插入了一些iframe。。在许多php文件中。

第17行的代码?实际上,从第1行到第20ish行如何?向我们展示index.php文件的内容。问题是,这发生在她的所有网站上,所有网站都有不同的index.php文件。我甚至尝试更改主题(wordpress),在混合中添加了第四个index.php,得到了完全相同的错误。错误消息中引用的不是index.php文件。