PHP not being parsed in files with multiple periods

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP not being parsed in files with multiple periods

Postby mtfd » 02. December 2010 16:01

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.
mtfd
 
Posts: 8
Joined: 10. August 2010 15:30

Re: PHP not being parsed in files with multiple periods

Postby Altrea » 02. December 2010 18:12

HOW do you request/open this file in the browser?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8288
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: PHP not being parsed in files with multiple periods

Postby mtfd » 02. December 2010 18:21

Just a simple include.
mtfd
 
Posts: 8
Joined: 10. August 2010 15:30

Re: PHP not being parsed in files with multiple periods

Postby Altrea » 02. December 2010 18:25

Where is the site included?
And how do you request/open the file in the browser, which include the file?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8288
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 56 guests