[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - strange behavior
Page 1 of 1

strange behavior

PostPosted: Wed Sep 26, 2007 2:16 pm
by lking79

PS

PostPosted: Wed Sep 26, 2007 2:20 pm
by lking79

PostPosted: Thu Sep 27, 2007 1:46 pm
by Calcifer
echo "<form name=\"simpleSearchForm\" onsubmit=\"paneSplitter.showContent('searchResults');simpleSearchFormObj.submit();return false\">\n";
................

<input type="submit" onclick="paneSplitter.showContent('searchResults');simpleSearchFormObj.submit();" value="send">

this must be run..."return false" is very important.
but if showContent or simpleSearchFormObj methods return true, your problem is normal
i think showContent is returning true...try it after removing paneSplitter.showContent('searchResults') method

PostPosted: Thu Sep 27, 2007 1:55 pm
by lking79
:oops:

found the problem. My PHP4.ini was more permissive than PHP5... I used $PHP_SELF instead of $_SERVER['PHP_SELF'];

thanks anyway