ok fixed! thanks
							
						
					Notice: Undefined variable: who in /home/ pr0blem can't solve
				
					Collapse
				
			
		
	X
- 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
- 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
 Your script assumes that all variables ($who) are registered globally. This is a bad assumption to make.
 
 Rather, use the variable from the $HTTP_POST_VARS array:
 
 
 
 $who = $HTTP_POST_VARS["who"];
 
 
 If you're using PHP version 4.1 or higher, you can alternatively use $_POST instead of $HTTP_POST_VARS.
 
 Have fun...BakGat
 Code:class Counter { public: void Count(); int ReadDisplay(); private: int CurrentCount; };
 
  
  
  
 
 
 
 Back up my hard drive? How do I put it in reverse?My Community
 BakGat
 sigpic
 Comment
- 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
 Originally posted by bOrN2pwn View PostYour script assumes that all variables ($who) are registered globally. This is a bad assumption to make.
 
 Rather, use the variable from the $HTTP_POST_VARS array:
 
 
 
 $who = $HTTP_POST_VARS["who"];
 
 
 If you're using PHP version 4.1 or higher, you can alternatively use $_POST instead of $HTTP_POST_VARS.
 
 Have fun...
 lol i found this on google bro but it don't work !
 Comment
- 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
 well try E_NOTICE i know you want a error free site but thats probaly nothing to worry about.BakGat
 Code:class Counter { public: void Count(); int ReadDisplay(); private: int CurrentCount; };
 
  
  
  
 
 
 
 Back up my hard drive? How do I put it in reverse?My Community
 BakGat
 sigpic
 Comment
- 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
 Older versions of PHP will ignore this type of errors but all the currents versions of PHP are made to work somehow like c++ and Java.Because in Java and c++,U will need to declare a variable before initializing it.Its is very much recommended.Its very annoying doing it but programmers in C++ and Java will see it normal.
 So here U were to declare :
 We declared $who to null or empty variable.After declaring it to an empty variable,You then asign $_POST to itCode:$who=""; 
 so it will be
 As Gumslone to said,the error is not of important so U can decide to hide it using :Code:$who=""; $who=$_POST['who']; 
 it is not recommended to hide all errors ,so I will not advise you to useCode:error_reporting("E^NOTICE");
 Code:error_reporting("E^ALL"); or error_reporting(0);
 Comment
- 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
 GumSlone was right from the first place you just didn't get it
 
 this error is not important just remove ~E_NOTICE from error reporting.
 
 by removing it means
 
 // Report all errors except E_NOTICE
 // This is the default value set in php.ini
 error_reporting(E_ALL ^ E_NOTICE);Last edited by just_m3.; 10.01.12, 02:58.This is ten percent luck, twenty percent skill
 Fifteen percent concentrated power of will
 Five percent pleasure, fifty percent pain
  And a hundred percent reason to remember the name! And a hundred percent reason to remember the name!
 Comment


Comment