15 Aug
2006
15 Aug
'06
5:18 p.m.
I'm not too happy about putting this in any web accessible place. That is asking for trouble.
Nope. Just prevent access from the web via .htaccess, like we do everything else. Alternatively, it's quite easy to add a check in the script itself to detect if it's being run in a web environment vs. a CLI. Just check for some environment variables here and there. -- Morbus Iff ( accept no prostitutes ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus