Hmmm. PHP 5.x ... well ... thinking aloud ... register_globals is being handled a little differently than with v.4.x, and it generally prefers a variable to have been initialized before use (general practice, but loosely enforced), so maybe try
Code:
$iA=0; //init temp var
$iA=$_GET["i"];
if($iA=="logout") {
?
I realize that $i _seems_ to have been initialized by its inclusion in the $_GET array, however maybe this is where the snafu lives ... in the translation between the two ...