-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You said "if(action=="main")" So ... it's really that or you would said "if($action=="main")" ??? the $ is important so ... perhaps phpv4 ignore this kind of mistake and not php5 or perhaps "action" is when register global is on ... so if miss $ before var, add it, and try again if not work .. send a piece of code $action = $_GET["action"]; if ($action == "main") { /*** do think ... ***/ }... Have fun -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) - WinPT 1.0.1 iD8DBQFFm5YqEg3iyspSWPARAmVnAJ9cATO6+9XCdz+WeH3Hgu3BeG3YjwCfdPFw eNY6PAnmZIfjV7wGN//pMIs= =opLP -----END PGP SIGNATURE-----