Re: "blackboxing" my global functions
| From: | Mark Maggelet | Date: | Thu, 26 Oct 2000 17:19:05 +0000 |
| Subject: | Re: "blackboxing" my global functions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22173@lists.php.net to get a copy of this message | ||
On Tue, 24 Oct 2000 12:53:50 +1030, David Robley
(huntsman@hermes.nisu.flinders.edu.au) wrote:
>On Tue, 24 Oct 2000, Theodore Jones wrote:
>> >
>> > OK - after a night's rest I would add: Use the auto_prepend
>>configuration
>> > directive, in httpd.conf, to prepend a file that calls, or
>>includes, the
>> > stuff you want kept confidential.
>>
>> I'm not quite following you here?
>>
>> ~ Theo
>
>The auto_prepend config directive allows you to automatically
>prepend a
>file to any documents served. You want to keep private the contents
>of
>certain included files whilst using them across your system. To
>prevent
>someone from gaining the include file name from php scripts and
>maliciously
>accessing the included files via fopen (as was suggested) you could
>use the
>prepend facility to include the contents, or call the specific
>include
>files. This way the name of the included files does not need to be
>made
>'public' and thus it's a bit harder for them to be found.
but phpinfo() will show the filename.
- Mark