Re: php 5 and register_globals=off gives lotsa errors
| From: | Strong Cypher | Date: | Wed, 03 Jan 2007 11:40:24 +0000 |
| Subject: | Re: php 5 and register_globals=off gives lotsa errors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246443@lists.php.net to get a copy of this message | ||
-----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-----