:: Forum >>
phpnuke compatible? stripos_clone()
Has anyone successfully used active widgets inside a phpnuke module?
The program seems to be working fine, until I put it inside a module. Then I get this errror.
Fatal error: Cannot redeclare stripos_clone() (previously declared in c:\program files\easyphp1-8\www\mainfile.php:114) in c:\program files\easyphp1-8\www\mainfile.php on line 114
the mainfile.php function looks like this
if(!function_exists('stripos')) {
function stripos_clone($haystack, $needle, $offset=0) {
return strpos(strtoupper($haystack), strtoupper($needle), $offset);
}
} else {
function stripos_clone($haystack, $needle, $offset=0) {
return stripos($haystack, $needle, $offset=0);
}
}
I've looked for something similar in grid.js without luck.
Ideas?
CodyG
Thursday, November 24, 2005
This topic is archived.
Back to support forum
Forum search