Re: Hard link shows php source code
| From: | Jeffry Killen | Date: | Wed, 30 Jan 2019 04:35:44 +0000 |
| Subject: | Re: Hard link shows php source code | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-326693@lists.php.net to get a copy of this message | ||
> On Jan 29, 2019, at 6:24 PM, Sam Hobbs <Gate@SamHobbs.org> wrote:
>
> Hopefully everyone else understands this question but I do not. I am not sure what specifically
> "this situation" is. Perhaps some specific examples that recreate the problem would help.
> You could show code that does something you do not want done then describe what you do want.
>
>
> Jeffry Killen wrote on 1/29/2019 5:21 PM:
>> The question is:
>> Does php anticipate this situation under the hood and recognize
>> the <?php tag even though it is reading a link to it with out the ..php
>> suffix?
>
The ''situation" is when a hard link name without a .php suffix is to
a php script file that is recognized by .php suffix.
In response to Jigar Dhulla;
I am aware of Apache httpd.conf and the lines that tell it what suffixes to
recognize as php scripts. I am doing this development work on Apache
running on Mac OSX Yosemite.
Thank you for responses.
JK