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

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 抖音咸鱼付款链接转码支付宝
  • ¥15 ubuntu22.04上安装ursim-3.15.8.106339遇到的问题
  • ¥15 求螺旋焊缝的图像处理
  • ¥15 blast算法(相关搜索:数据库)
  • ¥15 请问有人会紧聚焦相关的matlab知识嘛?
  • ¥15 网络通信安全解决方案
  • ¥50 yalmip+Gurobi
  • ¥20 win10修改放大文本以及缩放与布局后蓝屏无法正常进入桌面
  • ¥15 itunes恢复数据最后一步发生错误
  • ¥15 关于#windows#的问题:2024年5月15日的win11更新后资源管理器没有地址栏了顶部的地址栏和文件搜索都消失了