On Sun, 25 Nov 2001, Hojtsy Gabor wrote: > > 1. always use ".php" (or > > ".php3" for earlier versions) file name extensions for > > include files, otherwise, crackers can view your > > code.
It should be writen in other way. We should warn about that danger and inform about few methods of solving that problem. Way other than shown above is to set .inc (or any other) extension to be parsed by webserver. Regards -- Silly is a state of mind, stupid is a way of life http://www.leon.w-wa.pl/ | pl.comp.lang.php FAQ: http://php.faq.pl/