473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

adding php to html/htm files

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
1 1366
dlite922
1,584 Expert 1GB
what is this? what are you trying to do? post an RSS feed on your page?
Jan 17 '08 #2

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

Similar topics

5
by: surrealtrauma | last post by:
the requirement is : Create a class called Rational (rational.h) for performing arithmetic with fractions. Write a program to test your class. Use Integer variables to represent the private data...
3
by: Funnyweb | last post by:
When adding a field to a table using ALTER TABLE is it possible to check if the field already exits before the ADD command is run? If so how do I do this? Thanks Hamilton
1
by: SD WinGirl | last post by:
Our project is set up so that .cs source files are automatically generated. I would like to automate the adding of the .cs source files to the project (.csproj) file automatically. Are there...
2
by: Anna | last post by:
I added a small Web.Config file to the root of my website so that I could view errors on a machine other than the server: <configuration> <system.web> <customErrors mode="Off" /> </system.web>...
1
by: Max | last post by:
Searched all over google and can't seem to find how to do this. How do I go about adding comments about my own functions and sub-procedures? Like when I use them, the tool-tip tells me more then...
5
by: yawnmoth | last post by:
I'm having some difficulty with adding elements to a webpage via the DOM. The following works: main.htm: <script> js = document.createElement('script'); js.src='test.js';...
3
by: darjonase | last post by:
Alright all... I want to add a help section to my application and I am having some trouble. I know you can use the HTML Help Workshop, but this application is dreadful. It is very old school...
5
by: DBC User | last post by:
I have a situation, where I need to add 4 or 5 data files (they change every time I build) in my project during build time and somehow I need a way to access these files during runtime. So I have...
10
by: freddie007 | last post by:
The error seems to be error due to space or character set ========================================== Error Executing Database Query. Incorrect string value: '\xC2\x96 Jan...' for column 't61'...
3
by: kanishka1213 | last post by:
html file to be parsed is a simple file i can print the line where age;2 occured but somehow when i extract it, it doesnt go into db as 2 but as "absent". this means the html file entries...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.