Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

DaveJ

(5,023 posts)
10. Ok, got it working using the last method
Wed Dec 14, 2011, 05:26 PM
Dec 2011

I added <!--#include virtual="/blog_roll.php" --> to the SHTML page and put my code in blog_roll.php.

PHP is not enabled by default in SHTML files, and I did not feel like going into .htaccess. I've done that to do a bunch of 301 redirects but it's not really necessary here (long story but the ISP's control panel is firewalled from our network). Using the include is nice and clean.

Thanks!

Recommendations

0 members have recommended this reply (displayed in chronological order):

Latest Discussions»Retired Forums»Website, DB, & Software Developers»Do PHP files need a certa...»Reply #10