View Single Post
Old 12-11-2012, 02:52 PM   PM User | #3
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,650
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
This will not throw an undefined constant notice:
PHP Code:
// Sample #1:

// Notice: Use of undefined constant date - assumed 'date' in C:\xampp\htdocs\bom3\scams\rthk.php on line 49

$date = ($_POST['date']); 
'date' has been properly identified as a string. Look elsewhere for this error for which you want to find the (undefined) constant date in use.

PHP Code:
// Sample #2:

//Notice: Undefined index: flg in C:\xampp\htdocs\bom3\scams\tool.php on line 23
//Notice: Undefined index: flg in C:\xampp\htdocs\bom3\scams\tool.php on line 24

if($_POST['flg'] == 'ugg' ) {$bbb 'selected';} ELSE {$bbb '';}
if(
$_POST['flg'] == 'uggi' ) {$bbbi 'selected';} ELSE {$bbbi '';} 
This one simply has no offset under the name 'flg'. Check it with isset before attempting to read it.

Given the names in your filepaths here and the comparison criteria there, I'll sure raise question to future help requests.
Fou-Lu is offline   Reply With Quote