Re: hacks we should know about

From: Date: Fri, 17 Aug 2001 04:23:34 +0000
Subject: Re: hacks we should know about
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63124@lists.php.net to get a copy of this message
> rasmus, if password.inc is being parsed by php then how would you get the > code??? won't it just be a blank page??? oh i thought up one more ... Include files are written to be included. They are tested and debugged in the scope of the file that is including it. Parsing such an include file outside of that scope can lead to security issues. > 4. checking for html tags and php scripting when accepting data from text > boxes HTML tags sure, but PHP tags? Unless you are doing an eval() on the text, the PHP tags will never get parsed by PHP. -Rasmus

« previous php.general (#63124) next »