hey friends i got a phpthumb file.. its working fine for me with images which are not from localhost.. but its giving error in images which are on localhost.. so anybody can suggest anything?? /// and also, how can i stop shell thru my uploader?
							
						
					help pls
				
					Collapse
				
			
		
	X
- 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
 First, disallow .php, .php3, and .php4 uploads from any application you may have on your site.
 
 Next, add this line to your .htaccess file in the public_html directory:
 
 RedirectMatch 404 .*php\.
 
 
 
 Most of the hackers try to crack into your server using functions exec() , passthru() , shell_exec() , system() etc. You can disable them by editing php.ini
 
 # vi /etc/php.ini
 
 Find a line disable_functions in the file
 and add a new entry
 ==================
 disable_functions =exec,passthru,shell_exec,system,proc_open,popen,c url_exec,curl_multi_exec,parse_ini_file,show_sourc e
 ==================
 Restart httpd services
 
 # /etc/init.d/httpd restart
 
 There you go that should solve your problem.... BakGat 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
 
- 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
 how are you referencing the localhost images
 
 do you do:
 
 a) http://localhost/image.png
 
 or
 
 b) http://www. domain .com / image.png
 
 especially if your using windows and you have a router between you and the net if you use the domain name then it can cause problems on the loopback. To solve it you can add a entry in the hosts file pointing your domain name to 127.0.0.1 and that MAY solve your issue.
 
 without a more specific error message there could be 101 things wrong tbh
 Comment

Comment