RE: [PHP] $_POST[]

From: Date: Fri, 19 Dec 2003 13:51:33 +0000
Subject: RE: [PHP] $_POST[]
Groups: php.general 
Request: Send a blank email to php-general+get-173015@lists.php.net to get a copy of this message
[snip] What are magic numbers? Surely you don't mean the file recognition codes in /etc/magic for use by file(1) under *NIX... [/snip] Magic numbers are hard coded numbers that are not referrenced by a variable i.e. $thisNumber = (4 == $magic)? do stuff: do other stuff; should be $var = 4; $thisNumber = ($var == $magic)? do stuff: do other stuff;

« previous php.general (#173015) next »