RE: [PHP] .inc over .php
| From: | .ben | Date: | Fri, 19 Apr 2002 11:22:16 +0000 |
| Subject: | RE: [PHP] .inc over .php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-93664@lists.php.net to get a copy of this message | ||
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:php-general@gremlins.com.hk]
> Sent: 19 April 2002 11:38
> To: php-general@lists.php.net
> 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
>