From:             doctor at hmportal dot pl
Operating system: Irrelevant
PHP version:      6CVS-2006-02-04 (CVS)
PHP Bug Type:     Feature/Change Request
Bug description:  Gateway keyword

Description:
------------
Hi there !
I don't know if this was discussed earlier but I found that it would be
nice to have something like gateway keyword in PHP. There are many PHP
files that shouldn't be accesed directly from user's browser. As we know
the best option which solves the problem is to put the files in the
separate folder outside public_html but unfortunately some hosts don't
allow this. So the second option is to put in each file something like "if
(LOCK) die('You can't acces this page directly')" but this on the other
hand is somewhat annoying, not foolproof, bug-generating etc. Putting
gateway word on the top of a few accesible files seems to be trivial yet
useful and nice feature, easy to implement as well. Thank for attention
and appologies if I missed something.
Best regards, Michal.


-- 
Edit bug report at http://bugs.php.net/?id=36282&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36282&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36282&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36282&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36282&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36282&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36282&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36282&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36282&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36282&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36282&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36282&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36282&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36282&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36282&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36282&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36282&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36282&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36282&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36282&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36282&r=mysqlcfg

Reply via email to