Page 1 of 1

PHP not being parsed in files with multiple periods

PostPosted: 02. December 2010 16:01
by mtfd
Well that title was fun to type.

Anyway, I'm experiencing an issue with Apache not parsing PHP in files that have multiple periods, eg 'template.ebay.some_area.php'. Essentially these files are straight HTML and JS but I need to add a PHP check in one of them. Something as simple as this:
Code: Select all
<?php echo 'test'; ?>

is simply being printed out just like HTML (although you can't see the text in the browser, you need to view source to find it).

Anyone have any ideas on this? I checked http.conf and have not seen anything the jumps out at me.

Apologies if this topic has been covered before, I tried searching first but didn't find anything relevant.

Re: PHP not being parsed in files with multiple periods

PostPosted: 02. December 2010 18:12
by Altrea
HOW do you request/open this file in the browser?

Re: PHP not being parsed in files with multiple periods

PostPosted: 02. December 2010 18:21
by mtfd
Just a simple include.

Re: PHP not being parsed in files with multiple periods

PostPosted: 02. December 2010 18:25
by Altrea
Where is the site included?
And how do you request/open the file in the browser, which include the file?