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 http://firediv.com/firesafety.html
added <!--#include virtual="/reefeeds.php" -->
and even tried <!--#include virtual="http://firediv.com/reefeeds.php" -->

created and uploaded a file reefeeds.php wich has
Expand|Select|Wrap|Line Numbers
  1.  <?php
  2. $olderror_reporting =error_reporting(0);
  3. include ("http://rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Fwww.usfa.dhs.gov%2Frss%2Fcoffee_break_training.xml%2Chttp%3A%2F%2Fwww.usfa.dhs.gov%2Frss%2Falerts.xml&newpage=1&chead=1&atl=1&desc=1&owncss=&eleminate=&auth=1&dts=1&width=300&max=5&tlen=0&rnd=&bt=3&bs=Double&nmb=&ntb=&naf=&nst=&nwd=0&nht=0&dlen=0&lstyle=-1&lc=Blue&bg=White&bc=Gray&spc=&ims=1&tc=&ts=11&tfont=Verdana,+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?
Doug
Jan 8 '08 #1
Share this Question
Share on Google+
1 Reply


dlite922
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.