doulubashang6936 2009-08-13 17:37
浏览 47
已采纳

PHP输入中的意外字符:'''(ASCII = 39)

A friend of mine is getting this error on ALL of her websites. They are all on the same server, externally hosted.(the hosting company says they cant help with scripting problems. Typical.)

Each site even gives the exact some line number, but they all use different Index.php files. I am a bit stumped here, has anyone seen anything like this before?

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

Here is one of the index.php files contents, line 1 - 25 or so

<?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>
  • 写回答

1条回答 默认 最新

  • dounuo8797 2009-08-17 18:41
    关注

    actually your site is hacked. it happened to me too. all php files are affected. make sure you have very storong secured password. check out your ftp logs. there may be huge downloads and uploads. they insert some iframe .. in many php files.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 slaris 系统断电后,重新开机后一直自动重启
  • ¥15 51寻迹小车定点寻迹
  • ¥15 谁能帮我看看这拒稿理由啥意思啊阿啊
  • ¥15 关于vue2中methods使用call修改this指向的问题
  • ¥15 idea自动补全键位冲突
  • ¥15 请教一下写代码,代码好难
  • ¥15 iis10中如何阻止别人网站重定向到我的网站
  • ¥15 滑块验证码移动速度不一致问题
  • ¥15 Utunbu中vscode下cern root工作台中写的程序root的头文件无法包含
  • ¥15 麒麟V10桌面版SP1如何配置bonding