miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
The Other miniBB Support Forums / The Other /  
 

INCLUDED776

 
Author leeherron
Partaker
#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
Partaker
#3 | Posted: 23 Jan 2003 09:34 
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
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑