Jump to content

catweasel

New Members
  • Posts

    2
  • Joined

  • Last visited

catweasel's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, Thanks for your replies. I tried adding the above to the .htaccess file, but this still gave the same error message. I have put another Support question into my Hosting company, asking if there any specific requirements for the .htaccess file. (Unfortunately I never get the same Support person, so we end up going around in circles :mad:) Thanks for your help.
  2. Hi, I am using a Content Management System that generates .shtml pages. I would like to display an RSS Newsfeed on a page that requires me to insert a php include like the following : require_once "/path/to/carp.php"; CarpCacheShow("http://domain_name.com/path/to/rss/feed/file"); ?> However, the generated .shtml page displays this error message : [an error occurred while processing this directive] I would like to know whether I can display a 'php include' within a .shtml file. I have read on message boards/Google that the error may be down to my Server configuration. I have tried options such as adding : AddType application/x-httpd-php .shtml to my .htaccess file, but this does not work (adding this just downloads my index.shtml file to my desktop!). Any help/ideas much appreciated. Thanks, Ray Server: Unix; Ubuntu Linux (php 4 and 5)
×
×
  • Create New...