How To Disabled Notice: Undefined Variable: Error In Index.php On Line 95

Mobile
feeds
Welcome Login | Register

How To Disabled Notice: Undefined Variable: Error In Index.php On Line 95
  Forums Index
      » PHP Forums
        » » How To Disabled Notice: Undefined variable: error in index.php on line 95



How To Disabled Notice: Undefined Variable: Error In Index.php On Line 95
Post Description:
Post Tags: how, to, disabled, notice, undefined, variable, error, in, indexphp, on, line, 95, free php support, php scripts, php questions, php answers, programming, codes, scripts
This Post Has Been Viewed 354 Times Since Sun Jul 15, 2007 7:54 pm Posted By pacoman with 1 replies
How To Disabled Notice: Undefined Variable: Error In Index.php On Line 95
hi, i have a script and for some reason i keep getting this error,

Disabled Notice: Undefined variable: error in index.php on line 95

can you tell me why? i've never seen this error before?

thanks


Leave Your Comments






Share
URL:
You can use this HTML code to put it on your website to show your friends this wallpaper. Use this code on your profile like myspace, friendster, Facebook or others. Just Copy and Paste it in your HTML on your websites



Fourms BBCODE:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums





Comments and replies About How To Disabled Notice: Undefined Variable: Error In Index.php On Line 95




:: 1 :: Reply #11013 Reply By hostman On Sun Jul 15, 2007 8:28 pm
you are getting this error because you're most likely are not using global variables.

one way to solve this is to disabled Display_errors in php.ini - CLICK HERE TO LEARN HOW

another way is to disable it in your php, CLICK HERE to disable error reporting

but the best way to do this is to make your script better.

if you have something like: if($_POST['foo']) or if($_REQUEST['foo']) change it to look like this:

if(isset($_POST['foo']))

so i just added the isset() function.