i'm not sure if the same rules apply to PHP but with ASP I make all my includes contain only functions and constants, no free mark-up, and then save them as .inc.asp so if requested directly they return an empty script.
.b > -----Original Message----- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: 19 April 2002 11:38 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] .inc over .php > > > On Friday 19 April 2002 17:31, Danny Shepherd wrote: > > A third way could be to append .php onto those files too, > giving .inc.php, > > .class.php etc. > > > > <SARCASTIC> > IOW make them into .php files? > </SARCASTIC> > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > > /* > So, is the glass half empty, half full, or just twice as > large as it needs to be? > */ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php