PEAK XOOPS - Re: php error in precheck.inc.php in englishin japanese

Re: php error in precheck.inc.php

List posts in the topic

question Re: php error in precheck.inc.php

msg# 1.2.1.1.1
depth:
4
Previous post - Next post | Parent - Children.1 | Posted on 2006/10/27 4:09
GIJOE  Gunnery Sergeant   Posts: 4110
I've just tested it with 2.0.15, I cannot catch it.
(work fine)

can you insert a line for debugging?

	// reliable ips
	
	var_dump( $conf['reliable_ips'] ) ;
	
	$reliable_ips = unserialize( $conf['reliable_ips'] ) ;
	foreach( $reliable_ips as $reliable_ip ) {
		if( ! empty( $reliable_ip ) && preg_match( '/'.$reliable_ip.'/' , $_SERVER['REMOTE_ADDR'] ) ) {
			return true ;
		}
	}


Votes:1 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!