On Tuesday 10 July 1979 12:39 am, [EMAIL PROTECTED] wrote:
> on 7/10/01 12:30 AM, John Weaver at [EMAIL PROTECTED] wrote:
> > Sorry, I should have been more clear. If you write modular code, your
> > included file will be nothing but a group of functions. Call a file with
gt; because the server won't do the php code in an inc file...
>
> how do I change this!?
Name the file ... functions.inc.php and insure that you have the php start
and end tags on it.
--
Regards,
John Weaver
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
; document_root.
>
> -Rasmus
Sorry, I should have been more clear. If you write modular code, your
included file will be nothing but a group of functions. Call a file with
nothing but functions in it and you get; . I can't
see the security problem you refer to.
--
Regards,
John Weave
e types in that
> file i can detect it being accessed, instead of included, and redirect them
> elsewhere?
>
> Thanks guys!
>
> - Noah
The best compromise I have seen is to name your file -> somefile.inc.php
--
Regards,
John Weaver
--
PHP General Mailing List (http://
4 matches
Mail list logo