logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Coding & Scripting Corner View previous topic :: View next topic
Reply to topic   Topic: RSS PHP feed into HTML
Author
DexterDave



Joined: 10 May 2011
Posts: 11
Location: South Africa

PostPosted: Fri 13 May '11 19:06    Post subject: RSS PHP feed into HTML Reply with quote

Hi

Need some help.

I want to embed a php coded RSS feed into my html website(that runs on my apache server). Now I have enabled Apache to run php5 as a module and I did include the following into my httpd.conf file:

Under the "loadmodule lines:
LoadModule php5_module "c:/php/php5apache2_2.dll"

Under <IfModule mime_module>:
AddType application/x-httpd-php .php
AddHandler application/x-httpd-php .php .htm .html

and PHPIniDir "c:/php" at the bottom of httpd.conf.

Now whenever I load my webpage, the php code (or the rss feed in this case) does not display. I've tried everything I can think of, and there is nothing wrong with the RSS feed php code. It's legit

Thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Thu 14 Jul '11 20:53    Post subject: Reply with quote

Please read http://www.apachelounge.com/viewtopic.php?t=2395

if you still have a question please ask again
Back to top


Reply to topic   Topic: RSS PHP feed into HTML View previous topic :: View next topic
Post new topic   Forum Index -> Coding & Scripting Corner