By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,345 Members | 2,404 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,345 IT Pros & Developers. It's quick & easy.

adding php to html/htm files

P: 1
Fist Let me say thank You for all Your HELP

In the .htaccess file
AddHandler server-parsed .htm .html .shtm .shtml

Created a file called
added <!--#include virtual="/reefeeds.php" -->
and even tried <!--#include virtual="" -->

created and uploaded a file reefeeds.php wich has
Expand|Select|Wrap|Line Numbers
  1.  <?php
  2. $olderror_reporting =error_reporting(0);
  3. include (",+Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1");
  4. error_reporting($olderror_reporting);
  5. ?> 
And I get this response from server
[an error occurred while processing this directive]

Any Ideas on what I am doing wrong?
Jan 8 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,584
what is this? what are you trying to do? post an RSS feed on your page?
Jan 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.