Jump to content

allowing php include


Recommended Posts

I've set up a staging server with Ubuntu 14.04, Apache, PHP, and MySQL, and I'm having a configuration issue that I need to resolve.

 

index.html uses a server side include.  I was required to change the shtml file it references to a php file, but it's not working properly.

 

When my webpage uses the code:

<?php include ("footer.shtml"); ?>

then the page loads correctly

 

However, when I change it to:

<?php include ("footer.php"); ?>

then I instead see a message stating,

"This attachment was removed because it contains data that could pose a security risk."

 

I can't determine which configuration file I need to change, and what the change needs to be.

Link to comment
Share on other sites

It's not coming from Outlook; I'm using Firefox on Ubuntu (the same machine).

 

The code in footer.php creates text that goes in the cell of a table in index.html.  Originally this was done using shtml files, but I was given php files that I was told to use instead for security reasons.  I am under the impression that all I have to do is make the changes described in my original post, but it's not working.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.