miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
The Other miniBB Support Forums / The Other /   

INCLUDED776

Author leeherron
Registered
#1 | Posted: 12 Jan 2003 08:35 
I see this line at the top of bb_func_vforum.php:

if (!defined('INCLUDED776')) die ('Fatal error.');

Anyone know why it's there?

Author Team
8-)
#2 | Posted: 13 Jan 2003 10:58 
leeherron
If you are a good programmer, you can imagine yourself, why it is here... ;) If you are not, then simply leave it as it is.

In general, it's a security issue to protect standalone PHP scripts which are included in index.php, from the external execution. INCLUDED776 is defined in index.php, and it can't be passed through the standard GET or POST routine. So it means, if it's not defined, the script stops.

Author leeherron
Registered
#3 | Posted: 23 Jan 2003 09:34 | Edited by: leeherron 
Just never had seen it done that way before ..

Author Team
8-)
#4 | Posted: 23 Jan 2003 10:32 
Us too ;)
It's our board, it's original and it's not like others... So, here it is :)

The Other miniBB Support Forums / The Other / INCLUDED776 Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB