error in core
Started on the old forum in December 2009 · view the original in the archive · old links redirect here
most likely missed ,$variable
Want something coded email me at sales@webnwaphost.com for a prices.
Check y0ur missing functi0n at that line in core.php..
our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com
$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file);
the nearest line in core for the lava with count on it is
function isblocked($str,$sender)
{
if(ismod($sender))
{
return false;
}
$str = str_replace(" ","",$str);
$str = strtolower($str);
$res = mysql_query("SELECT site FROM ibwf_blockedsite");
while ($row = mysql_fetch_array($res))
{
$sites[] = $row[0];
}
for($i=0;$i<count($sites);$i++)
{
$nosf = substr_count($str,$sites[$i]);
if($nosf>0)
{
return true;
}
}
return false;
}
this may solve the problem have a look at this function on your core page.
Want something coded email me at sales@webnwaphost.com for a prices.
crazybrumi wrote: the nearest line in core for the lava with count on it is
function isblocked($str,$sender) { if(ismod($sender)) { return false; } $str = str_replace(" ","",$str); $str = strtolower($str); $res = mysql_query("SELECT site FROM ibwf_blockedsite"); while ($row = mysql_fetch_array($res)) { $sites[] = $row[0]; } for($i=0;$i<count($sites);$i++) { $nosf = substr_count($str,$sites[$i]); if($nosf>0) { return true; } } return false; }this may solve the problem have a look at this function on your core page.
this code is same as ur but still gettin error
function isblocked($str,$sender)
{
if(isowner($sender)||isheadadmin($sender)||ismod($sender))
{
return false;
}
$str = str_replace(" ","",$str);
$str = strtolower($str);
$res = mysql_query("SELECT site FROM ibwf_blockedsite");
while ($row = mysql_fetch_array($res))
{
$sites[] = $row[0];
}
for($i=0;$i<count($sites);$i++)
{
$nosf = substr_count($str,$sites[$i]);
if($nosf>0)
{
return true;
}
}
return false;
}
🙁
