Re: php 5 and register_globals=off gives lotsa errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux