473,765 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[an error occurred while processing this directive] ???

Hi,

I get this error " [an error occurred while processing this directive] "
when my web page run,
what does it mean?

Hope someone can help!!!

Gary
Jun 23 '06 #1
4 8009
HC
That error can occur when a server-side include (SSI) has a problem.
Post back with the relevant code, and someone should be able to help.

Gary wrote:
Hi,

I get this error " [an error occurred while processing this directive] "
when my web page run,
what does it mean?

Hope someone can help!!!

Gary

Jun 23 '06 #2
On Fri, 23 Jun 2006 12:48:20 +0800 Gary wrote:
I get this error " [an error occurred while processing this directive] "
when my web page run,
what does it mean?


It means that the server was unable to process a directive.

*Ring Ring*
"Car repairs, Meyer, good morning."
"My car isn't driving anymore. Please help."
*Looks into his magic glass bowl*
"Ah sure, i can see why. There is a loose cable. Just plug it in again and
it will work."...
"Thanks man."
"No problem, bye."

Since we don't have any magic glass bowl... Maybe you can provide some more
context.

Best regards,
Jan Thomä
Jun 23 '06 #3
<?php

/*
[Discuz!] (C)2001-2006 Comsenz Inc.
This is NOT a freeware, use is subject to license terms

$RCSfile: cache.func.php, v $
$Revision: 1.22.2.3 $
$Date: 2006/03/07 06:44:55 $
*/

define('DISCUZ_ KERNEL_VERSION' , '4.1.0');
define('DISCUZ_ KERNEL_RELEASE' , '20060303');

if(isset($_GET['kernel_version '])) {
exit('Crossday Discuz! Board<br>Develo ped by Comsenz Inc.<br><br>Ver sion:
'.DISCUZ_KERNEL _VERSION.'<br>R elease: '.DISCUZ_KERNEL _RELEASE);
} elseif(!defined ('IN_DISCUZ')) {
exit('Access Denied');
}

function arrayeval($arra y, $level = 0) {
$space = '';
for($i = 0; $i <= $level; $i++) {
$space .= "\t";
}
$evaluate = "Array\n$space( \n";
$comma = $space;
foreach($array as $key => $val) {
$key = is_string($key) ? '\''.addcslashe s($key, '\'\\').'\'' : $key;
$val = !is_array($val) && (!preg_match("/^\-?[1-9]\d*$/", $val) ||
strlen($val) > 12) ? '\''.addcslashe s($val, '\'\\').'\'' : $val;
if(is_array($va l)) {
$evaluate .= "$comma$key => ".arrayeval($va l, $level + 1);
} else {
$evaluate .= "$comma$key => $val";
}
$comma = ",\n$space" ;
}
$evaluate .= "\n$space)" ;
return $evaluate;
}

function updatecache($ca chename = '') {
global $db, $bbname, $tablepre;

$cachescript = array
(
'settings' => array('settings '),
'crons' => array('crons'),
'index' => array('announce ments', 'onlinelist', 'forumlinks'),
'forumdisplay' => array('announce ments_forum', 'globalstick', 'forums',
'icons', 'onlinelist'),
'viewthread' => array('forums', 'usergroups', 'ranks', 'bbcodes',
'smilies', 'fields_thread' ),
'post' => array('bbcodes' , 'smilies_displa y', 'smilies', 'icons'),
'blog' => array('usergrou ps', 'ranks', 'bbcodes', 'smilies'),
'forums' => array('forums') ,
'profilefields' => array('fields_r equired', 'fields_optiona l'),
'censor' => array('censor') ,
'ipbanned' => array('ipbanned '),
'bbcodes' => array('bbcodes' , 'smilies'),
'toplist' => array('newthrea d', 'newreply', 'topdigest',
'topviews'),//TOPLIST_*º?¥|®æ _¥þCacheª©_By oytktk
'poststar' => array('daystar' , 'yestodaystar', 'weekstar',
'monthstar', 'yearstar'),
'medals' => array('medals')
);

foreach($caches cript as $script => $cachenames) {
if(!$cachename || ($cachename && in_array($cache name, $cachenames))) {
writetocache($s cript, $cachenames);
}
}

if(!$cachename || $cachename == 'styles') {
$stylevars = array();
$query = $db->query("SELEC T * FROM {$tablepre}styl evars");
while($var = $db->fetch_array($q uery)) {
$stylevars[$var['styleid']][$var['variable']] = $var['substitute'];
}
$query = $db->query("SELEC T s.*, t.directory AS tpldir FROM
{$tablepre}styl es s LEFT JOIN {$tablepre}temp lates t ON
s.templateid=t. templateid");
while($data = $db->fetch_array($q uery)) {
$data = array_merge($da ta, $stylevars[$data['styleid']]);

$data['bgcode'] = strpos($data['bgcolor'], '.') ? "background-image:
url(\"$data[imgdir]/$data[bgcolor]\")" : "background-color: $data[bgcolor]";
$data['maintablebgcod e'] = strpos($data['maintablecolor '], '.') ?
"background=\"$ data[maintablecolor]\"" :
"bgcolor=\"$dat a[maintablecolor]\"";
$data['catbgcode'] = strpos($data['catcolor'], '.') ? "background-image:
url(\"$data[imgdir]/$data[catcolor]\")" : "background-color:
$data[catcolor]";
$data['headerbgcode'] = strpos($data['headercolor'], '.') ?
"background-image: url(\"$data[imgdir]/$data[headercolor]\")" :
"background-color: $data[headercolor]";
$data['boardlogo'] = image($data['boardimg'], $data['imgdir'],
"alt=\"$bbname\ "");
$data['bold'] = $data['nobold'] ? 'normal' : 'bold';

writetocache($d ata['styleid'], '', getcachevars($d ata, 'CONST'),
'style_');
}
}

if(!$cachename || $cachename == 'usergroups') {
$query = $db->query("SELEC T * FROM {$tablepre}user groups u
LEFT JOIN {$tablepre}admi ngroups a ON u.groupid=a.adm ingid");
while($data = $db->fetch_array($q uery)) {
$ratearray = array();
if($data['raterange']) {
foreach(explode ("\n", $data['raterange']) as $rating) {
$rating = explode("\t", $rating);
$ratearray[$rating[0]] = array('min' => $rating[1], 'max' =>
$rating[2], 'mrpd' => $rating[3]);
}
}
$data['raterange'] = $ratearray;
$data['grouptitle'] = $data['color'] ? '<font
color="'.$data['color'].'">'.$data['grouptitle'].'</font>' :
$data['grouptitle'];
$data['grouptype'] = $data['type'];
$data['grouppublic'] = $data['system'] != 'private';
$data['groupcreditshi gher'] = $data['creditshigher'];
$data['groupcreditslo wer'] = $data['creditslower'];
unset($data['type'], $data['system'], $data['creditshigher'],
$data['creditslower'], $data['color'], $data['groupavatar'],
$data['admingid']);
foreach($data as $key => $val) {
if(!isset($data[$key])) {
unset($data[$key]);
}
}
writetocache($d ata['groupid'], '', getcachevars($d ata), 'usergroup_');
}
}

if(!$cachename || $cachename == 'admingroups') {
$query = $db->query("SELEC T * FROM {$tablepre}admi ngroups");
while($data = $db->fetch_array($q uery)) {
writetocache($d ata['admingid'], '', getcachevars($d ata), 'admingroup_');
}
}

if(!$cachename || $cachename == 'plugins') {
$query = $db->query("SELEC T pluginid, available, adminid, name,
identifier, datatables, directory, copyright, modules FROM
{$tablepre}plug ins");
while($plugin = $db->fetch_array($q uery)) {
$data = array_merge($pl ugin, array('modules' => array()), array('vars' =>
array()));
$plugin['modules'] = unserialize($pl ugin['modules']);
if(is_array($pl ugin['modules'])) {
foreach($plugin['modules'] as $module) {
$data['modules'][$module['name']] = $module;
}
}
$queryvars = $db->query("SELEC T variable, value FROM
{$tablepre}plug invars WHERE pluginid='$plug in[pluginid]'");
while($var = $db->fetch_array($q ueryvars)) {
$data['vars'][$var['variable']] = $var['value'];
}
writetocache($p lugin['identifier'], '',
"\$_DPLUGIN['$plugin[identifier]'] = ".arrayeval($da ta), 'plugin_');
}
}
}

function updatesettings( ) {
global $_DCACHE;
if(isset($_DCAC HE['settings']) && is_array($_DCAC HE['settings'])) {
writetocache('s ettings', '', '$_DCACHE[\'settings\'] =
'.arrayeval($_D CACHE['settings']));
}
}

function writetocache($s cript, $cachenames, $cachedata = '', $prefix =
'cache_') {
if(is_array($ca chenames) && !$cachedata) {
foreach($cachen ames as $name) {
$cachedata .= getcachearray($ name);
}
}

$dir = DISCUZ_ROOT.'./forumdata/cache/';
if(!is_dir($dir )) {
@mkdir($dir, 0777);
}
if(@$fp = fopen("$dir$pre fix$script.php" , 'w')) {
fwrite($fp, "<?php\n//Discuz! cache file, DO NOT modify me!\n".
"//Created on ".date("M j, Y, G:i")."\n\n$cac hedata?>");
fclose($fp);
} else {
dexit('Can not write to cache files, please check directory ./forumdata/
and ./forumdata/cache/ .');
}
}

function getcachearray($ cachename) {
global $db, $timestamp, $tablepre;

$cols = '*';
$conditions = '';
switch($cachena me) {
case 'settings':
$table = 'settings';
$conditions = "WHERE variable NOT IN ('bbrules', 'bbrulestxt',
'maxonlines', 'welcomemsg', 'welcomemsgtxt' , 'newsletter', 'creditsnotify' ,
'custombackup') ";
break;
case 'crons':
$table = 'crons';
$cols = 'cronid, name, filename, nextrun, weekday, day, hour, minute';
$conditions = "WHERE available>'0'";
break;
case 'usergroups':
$table = 'usergroups';
$cols = 'groupid, type, grouptitle, creditshigher, creditslower, stars,
color, groupavatar, readaccess, allowavatar, allowcusbbcode, allowuseblog';
$conditions = "ORDER BY creditslower";
break;
case 'ranks':
$table = 'ranks';
$cols = 'ranktitle, postshigher, stars, color';
$conditions = "ORDER BY postshigher DESC";
break;
case 'announcements' :
$table = 'announcements' ;
$cols = 'id, subject, starttime, endtime';
$conditions = "WHERE starttime<='$ti mestamp' ORDER BY displayorder,
starttime DESC, id DESC";
break;
case 'announcements_ forum':
$table = 'announcements a';
$cols = 'a.id, a.author, a.message, m.uid AS authorid, a.subject,
a.starttime';
$conditions = "LEFT JOIN {$tablepre}memb ers m ON m.username=a.au thor
WHERE a.starttime<='$ timestamp' ORDER BY a.displayorder, a.starttime DESC,
a.id DESC LIMIT 1";
break;
case 'globalstick':
$table = 'forums';
$cols = 'fid, type, fup';
$conditions = "WHERE status='1' AND type IN ('forum', 'sub') ORDER BY
type";
break;
case 'forums':
$table = 'forums f';
$cols = 'f.fid, f.type, f.name, f.fup, ff.viewperm, a.uid';
$conditions = "LEFT JOIN {$tablepre}foru mfields ff ON ff.fid=f.fid LEFT
JOIN {$tablepre}acce ss a ON a.fid=f.fid AND a.allowview='1' WHERE
f.status='1' ORDER BY displayorder";
break;
case 'onlinelist':
$table = 'onlinelist';
$conditions = "ORDER BY displayorder";
break;
case 'forumlinks':
$table = 'forumlinks';
$conditions = "ORDER BY displayorder";
break;
case 'bbcodes':
$table = 'bbcodes';
$conditions = "WHERE available='1'";
break;
case 'smilies':
$table = 'smilies';
$cols = 'code, url';
$conditions = "WHERE type='smiley' ORDER BY LENGTH(code) DESC";
break;
case 'smilies_displa y':
$table = 'smilies';
$cols = 'code, url';
$conditions = "WHERE type='smiley' ORDER BY displayorder";
break;
case 'icons':
$table = 'smilies';
$cols = 'id, url';
$conditions = "WHERE type='icon' ORDER BY displayorder";
break;
case 'fields_require d':
$table = 'profilefields' ;
$cols = 'fieldid, invisible, title, description, required, unchangeable,
selective, choices';
$conditions = "WHERE available='1' AND required='1' ORDER BY
displayorder";
break;
case 'fields_optiona l':
$table = 'profilefields' ;
$cols = 'fieldid, invisible, title, description, required, unchangeable,
selective, choices';
$conditions = "WHERE available='1' AND required='0' ORDER BY
displayorder";
break;
case 'fields_thread' :
$table = 'profilefields' ;
$cols = 'fieldid, title, selective, choices';
$conditions = "WHERE available='1' AND invisible='0' AND showinthread='1 '
ORDER BY displayorder";
break;
case 'ipbanned':
$db->query("DELET E FROM {$tablepre}bann ed WHERE
expiration<'$ti mestamp'");
$table = 'banned';
$cols = 'ip1, ip2, ip3, ip4, expiration';
break;
case 'censor':
$table = 'words';
$cols = 'find, replacement';
break;
//*º?¥|®æTOPLIST_ CACHEª©, By oytktk ¥N?*º
case 'newthread':
$table = 'threads t';
$cols = 't.tid, t.fid, t.author, t.subject,
t.dateline, t.lastpost, t.lastposter, t.views, t.replies, t.highlight,
f.name';
$conditions = "LEFT JOIN {$tablepre}foru ms f ON
f.fid=t.fid WHERE t.displayorder! ='-1' ORDER BY t.dateline DESC LIMIT 0,
10";
break;

case 'newreply':
$table = 'threads t';
$cols = 't.tid, t.fid, t.author, t.subject,
t.dateline, t.lastpost, t.lastposter, t.views, t.replies, t.highlight,
f.name';
$conditions = "LEFT JOIN {$tablepre}foru ms f ON
f.fid=t.fid WHERE t.replies>0 and t.displayorder! ='-1' ORDER BY t.lastpost
DESC LIMIT 0, 10";
break;
case 'topdigest':
$table = 'threads t';
$cols = 't.tid, t.fid, t.author, t.subject,
t.digest, t.dateline, t.lastpost, t.lastposter, t.views, t.replies,
t.highlight, f.name';
$conditions = "LEFT JOIN {$tablepre}foru ms f ON
f.fid=t.fid WHERE digest>0 ORDER BY rand() LIMIT 0, 10";
break;

case 'topviews':
$table = 'threads t';
$view = rand(1,3)==1 ? 'views' : 'replies';
$cols = 't.tid, t.fid, t.author, t.subject,
t.dateline, t.lastpost, t.lastposter, t.views, t.replies, t.highlight,
f.name';
$conditions = "LEFT JOIN {$tablepre}foru ms f ON
f.fid=t.fid WHERE t.displayorder! ='-1' ORDER BY t.$view DESC LIMIT 0, 10";
break;

//*º?¥|®æTOPLIST_ CACHEª©, By oytktk ¥N?§À

//=============== ªÀ?©ú¬PBY 33201 ?©l
case 'daystar':
$month=date(n);
$date=date(j);
$year=date(Y);
$time=mktime(0, 0,0,$month,$dat e,$year);
$table = 'posts p';
$cols = 'count(p.pid) as
num,p.author,p. authorid,m.uid, m.credits,m.pos ts,m.digestpost s
,me.avatar,m.ol time,me.avatarw idth,me.avatarh eight';
$conditions = "left join {$tablepre}memb ers m on
p.authorid=m.ui d left join {$tablepre}memb erfields me on p.authorid=me.u id
where p.dateline>$tim e group by p.authorid order by num desc limit 0,10";
break;
case 'yestodaystar':
$month=date(n);
$date=date(j);
$year=date(Y);
$time=mktime(0, 0,0,$month,$dat e,$year);
$ytime=mktime(0 ,0,0,$month,$da te-1,$year);
$table = 'posts p';
$cols = 'count(p.pid) as
num,p.author,p. authorid,m.uid, m.credits,m.pos ts,m.digestpost s
,me.avatar,m.ol time,me.avatarw idth,me.avatarh eight';
$conditions = "left join {$tablepre}memb ers m on
p.authorid=m.ui d left join {$tablepre}memb erfields me on p.authorid=me.u id
where p.dateline<=$ti me and p.dateline>$yti me group by p.authorid order by
num desc limit 0,10";
break;
case 'weekstar':
$month=date(n);
$date=date(j);
$year=date(Y);
$week=date(w);
$time=mktime(0, 0,0,$month,$dat e,$year);
$weektime=mktim e(0,0,0,$month, $date-$week,$year);
$table = 'posts p';
$cols = 'count(p.pid) as
num,p.author,p. authorid,m.uid, m.credits,m.pos ts,m.digestpost s
,me.avatar,m.ol time,me.avatarw idth,me.avatarh eight';
$conditions = "left join {$tablepre}memb ers m on
p.authorid=m.ui d left join {$tablepre}memb erfields me on p.authorid=me.u id
where p.dateline>=$we ektime group by p.authorid order by num desc limit
0,10";
break;
case 'monthstar':
$month=date(n);
$year=date(Y);
$monthtime=mkti me(0,0,0,$month ,1,$year);
$table = 'posts p';
$cols = 'count(p.pid) as
num,p.author,p. authorid,m.uid, m.credits,m.pos ts,m.digestpost s
,me.avatar,m.ol time,me.avatarw idth,me.avatarh eight';
$conditions = "left join {$tablepre}memb ers m on
p.authorid=m.ui d left join {$tablepre}memb erfields me on p.authorid=me.u id
where p.dateline>=$mo nthtime group by p.authorid order by num desc limit
0,10";
break;

case 'yearstar':
$year=date(Y);
$yeartime=mktim e(0,0,0,1,1,$ye ar);
$table = 'posts p';
$cols = 'count(p.pid) as
num,p.author,p. authorid,m.uid, m.credits,m.pos ts,m.digestpost s
,me.avatar,m.ol time,me.avatarw idth,me.avatarh eight';
$conditions = "left join {$tablepre}memb ers m on
p.authorid=m.ui d left join {$tablepre}memb erfields me on p.authorid=me.u id
where p.dateline>=$ye artime group by p.authorid order by num desc limit
0,10";
break;

//=============== ====ªÀ?©ú¬PBY 33201 ?§ô

case 'medals':
$table = 'medals';
$cols = 'medalid, name, image';
$conditions = "WHERE available='1'";
break;
}

$data = array();

$query = $db->query("SELEC T $cols FROM {$tablepre}$tab le $conditions");
switch($cachena me) {
//*º?¥|®æTOPLIST_ CACHEª©, By oytktk ¥N?*º

case 'newthread':
$colorarray = array('', 'red', 'orange', 'yellow',
'green', 'cyan', 'blue', 'purple', 'gray');
while($topthrea d = $db->fetch_array($q uery)) {
$threadcolor = sprintf('%02d',
$topthread['highlight']);
$topthread['author'] = $topthread['author']
? $topthread['author'] : '´å«È';
$topthread['subjectc'] =
cutstr($topthre ad['subject'], 28);
$topthread['threadcolor'] = $threadcolor[1]
? " style=\"color: ".$colorarr ay[$threadcolor[1]]."\"" : NULL;
$topthread['dateline'] = gmdate("Y-m-d H:i",
$topthread['dateline'] + $GLOBALS['timeoffset'] * 3600);
$topthread['lastpost'] = gmdate("Y-m-d H:i",
$topthread['lastpost'] + $GLOBALS['timeoffset'] * 3600);
$topthread['name'] =
AddSlashes(stri p_tags(trim($to pthread['name'])));
$data[] = $topthread;
}
break;

case 'newreply':
$colorarray = array('', 'red', 'orange', 'yellow',
'green', 'cyan', 'blue', 'purple', 'gray');
while($topthrea d = $db->fetch_array($q uery)) {
$threadcolor = sprintf('%02d',
$topthread['highlight']);
$topthread['author'] = $topthread['author']
? $topthread['author'] : '´å«È';
$topthread['subjectc'] =
cutstr($topthre ad['subject'], 26);
$topthread['threadcolor'] = $threadcolor[1]
? " style=\"color: ".$colorarr ay[$threadcolor[1]]."\"" : NULL;
$topthread['dateline'] = gmdate("Y-m-d H:i",
$topthread['dateline'] + $GLOBALS['timeoffset'] * 3600);
$topthread['lastpost'] = gmdate("Y-m-d H:i",
$topthread['lastpost'] + $GLOBALS['timeoffset'] * 3600);
$topthread['name'] =
AddSlashes(stri p_tags(trim($to pthread['name'])));
$data[] = $topthread;
}
break;

case 'topdigest':
$colorarray = array('', 'red', 'orange', 'yellow',
'green', 'cyan', 'blue', 'purple', 'gray');
while($topthrea d = $db->fetch_array($q uery)) {
$threadcolor = sprintf('%02d',
$topthread['highlight']);
$digest =
array('1'=>'[¢¹]','2'=>'[¢º]','3'=>'[¢»]');
$topthread['subjectc'] =
$digest[$topthread['digest']]."-".cutstr($topth read['subject'], 23);
$topthread['author'] = $topthread['author']
? $topthread['author'] : '´å«È';
$topthread['threadcolor'] = $threadcolor[1]
? " style=\"color: ".$colorarr ay[$threadcolor[1]]."\"" : NULL;
$topthread['dateline'] = gmdate("Y-m-d H:i",
$topthread['dateline'] + $GLOBALS['timeoffset'] * 3600);
$topthread['lastpost'] = gmdate("Y-m-d H:i",
$topthread['lastpost'] + $GLOBALS['timeoffset'] * 3600);
$topthread['name'] =
AddSlashes(stri p_tags(trim($to pthread['name'])));
$data[] = $topthread;
}
break;

case 'topviews':
$colorarray = array('', 'red', 'orange', 'yellow',
'green', 'cyan', 'blue', 'purple', 'gray');
while($topthrea d = $db->fetch_array($q uery)) {
$threadcolor = sprintf('%02d',
$topthread['highlight']);
$topthread['subjectc'] =
cutstr($topthre ad['subject'], 32);
$topthread['threadcolor'] = $threadcolor[1]
? " style=\"color: ".$colorarr ay[$threadcolor[1]]."\"" : NULL;
$topthread['author'] = $topthread['author']
? $topthread['author'] : '´å«È';
$topthread['dateline'] = gmdate("Y-m-d H:i",
$topthread['dateline'] + $GLOBALS['timeoffset'] * 3600);
$topthread['lastpost'] = gmdate("Y-m-d H:i",
$topthread['lastpost'] + $GLOBALS['timeoffset'] * 3600);
$topthread['name'] =
AddSlashes(stri p_tags(trim($to pthread['name'])));
$data[] = $topthread;
}
break;
//*º?¥|®æTOPLIST_ CACHEª©, By oytktk ¥N?§À

//=============== ====ªÀ?©ú¬PBY 33201 ?©l
case 'daystar':
while($toppost = $db->fetch_array($q uery)) {
$toppost['author'] = $toppost['author'] ?
$toppost['author'] : '´å«È';
$toppost['authorid'] = $toppost['authorid']
? $toppost['authorid'] : '´å«È';
$toppost['avatar'] = $toppost['avatar'] ?
$toppost['avatar'] : 'images/nopic.gif';
$toppost['avatarwidth'] =
$toppost['avatarwidth'] ? $toppost['avatarwidth'] : '80';
$toppost['avatarheight'] =
$toppost['avatarheight'] ? $toppost['avatarheight'] : '80';
$data[] = $toppost;
}
break;
case 'yestodaystar':
while($toppost = $db->fetch_array($q uery)) {
$toppost['author'] = $toppost['author'] ?
$toppost['author'] : '´å«È';
$toppost['authorid'] = $toppost['authorid']
? $toppost['authorid'] : '´å«È';
$toppost['avatar'] = $toppost['avatar'] ?
$toppost['avatar'] : 'images/nopic.gif';
$toppost['avatarwidth'] =
$toppost['avatarwidth'] ? $toppost['avatarwidth'] : '80';
$toppost['avatarheight'] =
$toppost['avatarheight'] ? $toppost['avatarheight'] : '80';
$data[] = $toppost;
}
break;
case 'weekstar':
while($toppost = $db->fetch_array($q uery)) {
$toppost['author'] = $toppost['author'] ?
$toppost['author'] : '´å«È';
$toppost['authorid'] = $toppost['authorid']
? $toppost['authorid'] : '´å«È';
$toppost['avatar'] = $toppost['avatar'] ?
$toppost['avatar'] : 'images/nopic.gif';
$toppost['avatarwidth'] =
$toppost['avatarwidth'] ? $toppost['avatarwidth'] : '80';
$toppost['avatarheight'] =
$toppost['avatarheight'] ? $toppost['avatarheight'] : '80';
$data[] = $toppost;
}
break;
case 'monthstar':
while($toppost = $db->fetch_array($q uery)) {
$toppost['author'] = $toppost['author'] ?
$toppost['author'] : '´å«È';
$toppost['authorid'] = $toppost['authorid']
? $toppost['authorid'] : '´å«È';
$toppost['avatar'] = $toppost['avatar'] ?
$toppost['avatar'] : 'images/nopic.gif';
$toppost['avatarwidth'] =
$toppost['avatarwidth'] ? $toppost['avatarwidth'] : '80';
$toppost['avatarheight'] =
$toppost['avatarheight'] ? $toppost['avatarheight'] : '80';
$data[] = $toppost;
}
break;
case 'yearstar':
while($toppost = $db->fetch_array($q uery)) {
$toppost['author'] = $toppost['author'] ?
$toppost['author'] : '´å«È';
$toppost['authorid'] = $toppost['authorid']
? $toppost['authorid'] : '´å«È';
$toppost['avatar'] = $toppost['avatar'] ?
$toppost['avatar'] : 'images/nopic.gif';
$toppost['avatarwidth'] =
$toppost['avatarwidth'] ? $toppost['avatarwidth'] : '80';
$toppost['avatarheight'] =
$toppost['avatarheight'] ? $toppost['avatarheight'] : '80';
$data[] = $toppost;
}
break;

//=============== ======ªÀ?©ú¬PBY 33201 ?§ô

case 'settings':
$data['qihoo_links'] = array();
while($setting = $db->fetch_array($q uery)) {
if($setting['variable'] == 'extcredits') {
if(is_array($se tting['value'] = unserialize($se tting['value']))) {
foreach($settin g['value'] as $key => $value) {
if($value['available']) {
unset($setting['value'][$key]['available']);
} else {
unset($setting['value'][$key]);
}
}
}
} elseif($setting['variable'] == 'qihoo_keywords ') {
foreach(explode ("\n", trim($setting['value'])) as $keyword) {
if($keyword = trim($keyword)) {
$data['qihoo_links']['keywords'][] = '<a
href="search.ph p?srchtype=qiho o&srchtxt='.raw urlencode($keyw ord).'&searchsu bmit=yes"
target="_blank" >'.dhtmlspecial chars(trim($key word)).'</a>';
}
}
} elseif($setting['variable'] == 'qihoo_topics') {
if(is_array($to pics = unserialize($se tting['value']))) {
foreach($topics as $topic) {
if($topic['topic'] = trim($topic['topic'])) {
$data['qihoo_links']['topics'][] = '<a
href="topic.php ?topic='.rawurl encode($topic['topic']).'&keyword='.r awurlencode($to pic['keyword']).'&stype='.$to pic['stype'].'&length='.$to pic['length'].'&relate='.$to pic['relate'].'"
target="_blank" >'.dhtmlspecial chars(trim($top ic['topic'])).'</a>';
}
}
}
} elseif($setting['variable'] == 'creditspolicy' ) {
$setting['value'] = unserialize($se tting['value']);
} elseif($setting['variable'] == 'creditsformula ') {
$setting['value'] =
preg_replace("/(digestposts|po sts|pageviews|o ltime|extcredit s[1-8])/",
"\$member['\\1']", $setting['value']);
} elseif($setting['variable'] == 'maxsmilies') {
$setting['value'] = $setting['value'] <= 0 ? -1 : $setting['value'];
}

if(!in_array($s etting['variable'], array('qihoo_ke ywords',
'qihoo_topics') )) {
$GLOBALS[$setting['variable']] = $data[$setting['variable']] =
$setting['value'];
}
}
if($data['stylejump']) {
$data['stylejump'] = array();
$query = $db->query("SELEC T styleid, name FROM {$tablepre}styl es WHERE
available='1'") ;
while($style = $db->fetch_array($q uery)) {
$data['stylejump'][$style['styleid']] =
dhtmlspecialcha rs($style['name']);
}
}
$query = $db->query("SELEC T COUNT(*) FROM {$tablepre}memb ers");
$GLOBALS['totlamembers'] = $data['totalmembers'] = $db->result($quer y,
0);
$query = $db->query("SELEC T username FROM {$tablepre}memb ers ORDER BY uid
DESC LIMIT 1");
$GLOBALS['lastmember'] = $data['lastmember'] = $db->result($quer y, 0);
$GLOBALS['version'] = $data['version'] = DISCUZ_KERNEL_V ERSION;
$modreasonsarra y = array();
foreach(explode ("\n", trim($data['modreasons'])) as $reason) {
$reason = trim($reason);
$modreasonarray[] = $reason ? array(dhtmlspec ialchars($reaso n), $reason)
: array('', '--------');
}
$GLOBALS['modreasons'] = $data['modreasons'] = $modreasonarray ;

$query = $db->query("SELEC T nextrun FROM {$tablepre}cron s WHERE
available>'0' AND nextrun>'$times tamp' ORDER BY nextrun LIMIT 1");
$data['cronnextrun'] = $db->result($quer y, 0);

$data['todaysbdays'] = '';
if($data['bdaystatus']) {
if(empty($_DCAC HE['settings']['todaysbdays'])) {
$bdaymembers = array();
$query = $db->query("SELEC T uid, username, email, bday FROM
{$tablepre}memb ers WHERE bday LIKE '%-".gmdate('m-d', $timestamp +
$data['timeoffset'] * 3600)."' ORDER BY bday");
while($bdaymemb er = $db->fetch_array($q uery)) {
$birthyear = intval($bdaymem ber['bday']);
$bdaymembers[] = '<a href="viewpro.p hp?uid='.$bdaym ember['uid'].'"
target="_blank" '.($birthyear ? 'alt="'.$bdayme mber['bday'].'"' :
'').'>'.$bdayme mber['username'].'</a>';
}
$data['todaysbdays'] = implode(', ', $bdaymembers);
} else {
$data['todaysbdays'] = $_DCACHE['settings']['todaysbdays'];
}
}

$data['advertisements '] = array();
$query = $db->query("SELEC T * FROM {$tablepre}adve rtisements WHERE
available>'0' AND starttime<='$ti mestamp' ORDER BY displayorder");
if($db->num_rows($quer y)) {
while($adv = $db->fetch_array($q uery)) {
$data['advertisements ']['items'][$adv['advid']] = $adv['code'];
if($adv['targets'] == '') {
$data['advertisements ']['types'][$adv['type']]['all'][] =
$adv['advid'];
} else {
foreach(explode ("\t", $adv['targets']) as $target) {
if($target == 0) {
$data['advertisements ']['types'][$adv['type']]['index'][] =
$adv['advid'];
} else {
$data['advertisements ']['types'][$adv['type']]['forum_'.$targe t][] =
$adv['advid'];
}
}
}
}
$query = $db->query("SELEC T starttime FROM {$tablepre}adve rtisements
WHERE available>'0' AND starttime>'$tim estamp' ORDER BY starttime LIMIT 1");
$data['advertisements ']['lateststarttim e'] = intval($db->result($quer y,
0));
$query = $db->query("SELEC T endtime FROM {$tablepre}adve rtisements WHERE
available>'0' AND endtime>'$times tamp' ORDER BY endtime LIMIT 1");
$data['advertisements ']['latestendtime'] = intval($db->result($quer y,
0));
}

$data['plugins'] = array();
$query = $db->query("SELEC T available, name, identifier, directory,
datatables, modules FROM {$tablepre}plug ins");
while($plugin = $db->fetch_array($q uery)) {
$plugin['modules'] = unserialize($pl ugin['modules']);
if(is_array($pl ugin['modules'])) {
foreach($plugin['modules'] as $module) {
if($plugin['available'] && isset($module['name'])) {
switch($module['type']) {
case 1:
$data['plugins']['links'][$plugin['identifier']][$module['name']] =
array('adminid' => $module['adminid'], 'url' => "<a
href=\"$module[url]\">$module[menu]</a>");
break;
case 2:
$data['plugins']['links'][$plugin['identifier']][$module['name']] =
array('adminid' => $module['adminid'], 'url' => "<a
href=\"plugin.p hp?identifier=$ plugin[identifier]&module=$mod ule[name]\">$module[menu]</a>",
'directory' => $plugin['directory']);
break;
case 4:
$data['plugins']['include'][] = array('adminid' =>
$module['adminid'], 'script' => $plugin['directory'].$module['name']);
break;
}
}
}
}
}

$data['hooks'] = array();
$query = $db->query("SELEC T ph.title, ph.code, p.identifier FROM
{$tablepre}plug ins p
LEFT JOIN {$tablepre}plug inhooks ph ON ph.pluginid=p.p luginid AND
ph.available='1 '
WHERE p.available='1' ORDER BY p.identifier");
while($hook = $db->fetch_array($q uery)) {
if($hook['title'] && $hook['code']) {
$data['hooks'][$hook['identifier'].'_'.$hook['title']] = $hook['code'];
}
}
break;
case 'crons':
while($cron = $db->fetch_array($q uery)) {
$cronid = $cron['cronid'];
$cron['filename'] = str_replace(arr ay('..', '/', '\\'), array('', '',
''), $cron['filename']);
$cron['minute'] = explode("\t", $cron['minute']);
unset($cron['cronid']);
$data[$cronid] = $cron;
}
break;
case 'usergroups':
global $userstatusby;
while($group = $db->fetch_array($q uery)) {
$groupid = $group['groupid'];
$group['grouptitle'] = $group['color'] ? '<font
color="'.$group['color'].'">'.$group['grouptitle'].'</font>' :
$group['grouptitle'];
if($userstatusb y == 2) {
$group['byrank'] = $group['type'] == 'member' ? 1 : 0;
}
if($userstatusb y == 0 || ($userstatusby == 2 && $group['type'] ==
'member')) {
unset($group['grouptitle'], $group['stars']);
}
if($group['type'] != 'member') {
unset($group['creditshigher'], $group['creditslower']);
}
unset($group['groupid'], $group['color']);
$data[$groupid] = $group;
}
break;
case 'ranks':
global $userstatusby;
if($userstatusb y == 2) {
while($rank = $db->fetch_array($q uery)) {
$rank['ranktitle'] = $rank['color'] ? '<font
color="'.$rank['color'].'">'.$rank['ranktitle'].'</font>' :
$rank['ranktitle'];
unset($rank['color']);
$data[] = $rank;
}
}
break;
case 'announcements_ forum':
if($data = $db->fetch_array($q uery)) {
$data['authorid'] = intval($data['authorid']);
$data['message'] = cutstr(strip_ta gs($data['message']), 18);
} else {
$data = array();
}
break;
case 'globalstick':
$fuparray = $threadarray = array();
while($forum = $db->fetch_array($q uery)) {
switch($forum['type']) {
case 'forum':
$fuparray[$forum['fid']] = $forum['fup'];
break;
case 'sub':
$fuparray[$forum['fid']] = $fuparray[$forum['fup']];
break;
}
}
$query = $db->query("SELEC T tid, fid, displayorder FROM
{$tablepre}thre ads WHERE displayorder IN (2, 3)");
while($thread = $db->fetch_array($q uery)) {
switch($thread['displayorder']) {
case 2:
$threadarray[$fuparray[$thread['fid']]][] = $thread['tid'];
break;
case 3:
$threadarray['global'][] = $thread['tid'];
break;
}
}
foreach(array_u nique($fuparray ) as $gid) {
if(!empty($thre adarray[$gid])) {
$data['categories'][$gid] = array(
'tids' => implode(',', $threadarray[$gid]),
'count' => intval(@count($ threadarray[$gid]))
);
}
}
$data['global'] = array(
'tids' => empty($threadar ray['global']) ? 0 : implode(',',
$threadarray['global']),
'count' => intval(@count($ threadarray['global']))
);
break;
case 'censor':
$banned = $mod = array();
$data = array('filter' => array(), 'banned' => '', 'mod' => '');
while($censor = $db->fetch_array($q uery)) {
$censor['find'] = preg_replace("/\\\{(\d+)\\\}/", ".{0,\\1}",
preg_quote($cen sor['find'], '/'));
switch($censor['replacement']) {
case '{BANNED}':
$banned[] = $censor['find'];
break;
case '{MOD}':
$mod[] = $censor['find'];
break;
default:
$data['filter']['find'][] = '/'.$censor['find'].'/i';
$data['filter']['replace'][] = $censor['replacement'];
break;
}
}
if($banned) {
$data['banned'] = '/('.implode('|', $banned).')/i';
}
if($mod) {
$data['mod'] = '/('.implode('|', $mod).')/i';
}
break;
case 'forums':
while($forum = $db->fetch_array($q uery)) {
if(!isset($data[$forum['fid']])) {
$forum['name'] = strip_tags($for um['name']);
if($forum['uid']) {
$forum['users'] = "\t$forum[uid]\t";
}
unset($forum['uid']);
$data[$forum['fid']] = $forum;
} elseif($forum['uid']) {
if(!$data[$forum['fid']]['users']) {
$data[$forum['fid']]['users'] = "\t";
}
$data[$forum['fid']]['users'] .= "$forum[uid]\t";
}
}
break;
case 'onlinelist':
$data['legend'] = '';
while($list = $db->fetch_array($q uery)) {
$data[$list['groupid']] = $list['url'];
$data['legend'] .= "<img src=\"images/common/$list[url]\"> $list[title]
&nbsp; &nbsp; &nbsp; ";
}
break;
case 'forumlinks':
$tightlink_text = $tightlink_logo = '';
while($flink = $db->fetch_array($q uery)) {
if($flink['note']) {
$forumlink['content'] = "<a href=\"$flink[url]\"
target=\"_blank \"><span
class=\"bold\"> $flink[name]</span></a><br>$flink[note]";
if($flink['logo']) {
$forumlink['type'] = 1;
$forumlink['logo'] = $flink['logo'];
} else {
$forumlink['type'] = 2;
}
$data[] = $forumlink;
} else {
if($flink['logo']) {
$tightlink_logo .= "<a href=\"$flink[url]\" target=\"_blank \"><img
src=\"$flink[logo]\" border=\"0\" alt=\"$flink[name]\"></a> ";
} else {
$tightlink_text .= "<a href=\"$flink[url]\"
target=\"_blank \">[$flink[name]]</a> ";
}
}
}
if($tightlink_l ogo || $tightlink_text ) {
$tightlink_logo .= $tightlink_logo ? '<br>' : '';
$data[] = array('type' => 3, 'content' =>
$tightlink_logo .$tightlink_tex t);
}
break;
case 'bbcodes':
$regexp = array ( 1 => "/\[{bbtag}](.+?)\[\/{bbtag}\]/is",
2 => "/\[{bbtag}=(['\"]?)(.+?)(['\"]?)\](.+?)\[\/{bbtag}\]/is",
3 =>
"/\[{bbtag}=(['\"]?)(.+?)(['\"]?),(['\"]?)(.+?)(['\"]?)\](.+?)\[\/{bbtag}\]/is"
);

while($bbcode = $db->fetch_array($q uery)) {
$search = str_replace('{b btag}', $bbcode['tag'],
$regexp[$bbcode['params']]);
$bbcode['replacement'] = preg_replace("/([\r\n])/", '',
$bbcode['replacement']);
switch($bbcode['params']) {
case 2:
$bbcode['replacement'] = str_replace('{1 }', '\\2',
$bbcode['replacement']);
$bbcode['replacement'] = str_replace('{2 }', '\\4',
$bbcode['replacement']);
break;
case 3:
$bbcode['replacement'] = str_replace('{1 }', '\\2',
$bbcode['replacement']);
$bbcode['replacement'] = str_replace('{2 }', '\\5',
$bbcode['replacement']);
$bbcode['replacement'] = str_replace('{3 }', '\\7',
$bbcode['replacement']);
break;
default:
$bbcode['replacement'] = str_replace('{1 }', '\\1',
$bbcode['replacement']);
break;
}
$replace = $bbcode['replacement'];

for($i = 0; $i < $bbcode['nest']; $i++) {
$data['searcharray'][] = $search;
$data['replacearray'][] = $replace;
}
}

break;
case 'smilies':
$data = array('searchar ray' => array(), 'replacearray' => array());
while($smiley = $db->fetch_array($q uery)) {
$data['searcharray'][] =
'/'.preg_quote(dh tmlspecialchars ($smiley['code']), '/').'/';
$data['replacearray'][] = $smiley['url'];
}
break;
case 'smilies_displa y':
while($smiley = $db->fetch_array($q uery)) {
$smiley['code'] = dhtmlspecialcha rs($smiley['code']);
$data[] = $smiley;
}
break;
case 'icons':
while($icon = $db->fetch_array($q uery)) {
$data[$icon['id']] = $icon['url'];
}
break;
case (in_array($cach ename, array('fields_r equired', 'fields_optiona l',
'fields_thread' ))):
while($field = $db->fetch_array($q uery)) {
$choices = array();
if($field['selective']) {
foreach(explode ("\n", $field['choices']) as $item) {
list($index, $choice) = explode('=', $item);
$choices[trim($index)] = trim($choice);
}
$field['choices'] = $choices;
} else {
unset($field['choices']);
}
$data[] = $field;
}
break;
case 'ipbanned':
if($db->num_rows($quer y)) {
$data['expiration'] = 0;
$data['regexp'] = $separator = '';
}
while($banned = $db->fetch_array($q uery)) {
$data['expiration'] = !$data['expiration'] || $banned['expiration'] <
$data['expiration'] ? $banned['expiration'] : $data['expiration'];
$data['regexp'] .= $separator.
($banned['ip1'] == '-1' ? '\\d+\\.' : $banned['ip1'].'\\.').
($banned['ip2'] == '-1' ? '\\d+\\.' : $banned['ip2'].'\\.').
($banned['ip3'] == '-1' ? '\\d+\\.' : $banned['ip3'].'\\.').
($banned['ip4'] == '-1' ? '\\d+' : $banned['ip4']);
$separator = '|';
}
break;
case 'medals':
while($medal = $db->fetch_array($q uery)) {
$data[$medal['medalid']] = array('name' => $medal['name'], 'image' =>
$medal['image']);
}
break;
default:
while($datarow = $db->fetch_array($q uery)) {
$data[] = $datarow;
}
}

return "\$_DCACHE['$cachename'] = ".arrayeval($da ta).";\n\n";
}

function getcachevars($d ata, $type = 'VAR') {
$evaluate = '';
foreach($data as $key => $val) {
if(is_array($va l)) {
$evaluate .= "\$$key = ".arrayeval($va l).";\n";
} else {
$val = addcslashes($va l, '\'\\');
$evaluate .= $type == 'VAR' ? "\$$key = '$val';\n" :
"define('".strt oupper($key)."' , '$val');\n";
}
}
return $evaluate;
}

?>
Jun 24 '06 #4
On Sat, 24 Jun 2006 11:10:24 +0800 Gary wrote:

[some insanely long php]
[Discuz!] (C)2001-2006 Comsenz Inc.


I would suggest you discuss the matter with these guys who sold you that
script. They will know best where the problems are.

Best regards,
Jan Thomä
Jun 24 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5709
by: Rene | last post by:
Hi, While restoring the log we receive a message after about 30 minutes: Processed 1152109 pages for database 'restest', file 'sales_Log' on file 1 Server: Msg 9004, Leverl 21, State 20, Line 3 An error occurred while processing the log for database ' '. It is unclear why the databasename is an empty string, I guess there must be
5
3885
by: NG | last post by:
Hi, We are having DB2-V7.2 DB on AIX 5.2 machine. Recently we upgraded our system to fixpack 13 and activated activate AIX asynchronous IO function. Our DB is going to crash recovery with this error 0xFFFFF707. I have attached the related details. Any suggestions is much appreciated.
2
1834
by: menkaur | last post by:
I tried to generate asp Application project( I’m using VS .Net 2003). After I did ,following errors occurred (runtime): -------------------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. ...
6
3887
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root of the web app 3)restarting IIS 4)recreating the virtual dir in IIS 5)playing with any and all settings I could find for the web app in IIS, including changing permissions 6)recopying the machineconfig file from my asp v1.4... onto my local server
15
5363
by: David Lozzi | last post by:
Howdy, I have a function that uploads an image and that works great. I love ..Nets built in upload, so much easier than 3rd party uploaders! Now I am making a public function that will take the path of the uploaded image, and resize it with the provided dimensions. My function is below. The current function is returning an error when run from the upload function: A generic error occurred in GDI+. Not sure what exactly that means. From what...
1
2449
by: whitehorse | last post by:
When the warehousecontroller service is invoked, the following error message is sent to the application log: Event Type: Error Event Source: TFS Warehouse Event Category: None Event ID: 3000 Date: 4/14/2006 Time: 2:41:08 PM User: N/A
5
1624
by: Moojjoo | last post by:
I am working on a Web application and when I try to add a Web Form with zero code on it and just type hello world I get the following: 1. The Virtual Web is setup as an application 2. All other pages work fine, just when I add new pages? 3. Rebooted, resetiis, and I searched the Web over for a resolution. I am at loss. Any help would be great. Parser Error
1
6490
by: vijay.db | last post by:
Hi Team, Very serious problem with my DB2 V8.1 Fixpack 6 running in AIX 5.1 machine. Every one hour my DB2 instance processes are killed and it's going down. Several trap files are generated in the db2 diag log directory. Following the detailed entry in the db2diag.log: 2007-02-28-05.00.10.650672 Instance:****** Node:000 PID:2109578(db2agent (dbname) 0) TID:1 Appid:GA6DA619.C438.002D98045717
4
2514
by: Cirene | last post by:
In my web.config I added <pages enableSessionState="true">. In each of my pages I also added EnableSessionState="True" to the Page declaration. (I didn't think this was necessary, but...) Any reason why even though I did this I keep getting this error.... Server Error in '/abc' Application.
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.