|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
|||||||
| New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Nov 2003
Location: Prague
Posts: 2,733
|
SSI and parsing PHP in .html
Hi,
could someone help me out? (Linux server) I use a lot of ssi, which I activate in my .htaccess by adding the line: AddHandler server-parsed .html now I would like to include rss feeds on my html pages, for that I use a php parser. To make the parser work in html, I added the lines RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html to my .htaccess now the ssi doesn't work anymore of course Anyone know, how to make them work together? Thanks
__________________
|
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Nov 2003
Location: Prague
Posts: 2,733
|
damn, why do things in hindsight always seem so easy ???
just kept AddHandler server-parsed .html in my .htaccess and I call the rss parser from within my html pages by ssi
__________________
|
|
|
|
|
|
#3 |
|
CHECK MY SIG-AMAZING SITE
Join Date: May 2006
Location: ICQ: 210-874-419
Posts: 12,870
|
Linux servers are difficult to handle
|
|
|
|
|
|
#4 |
|
Confirmed User
Industry Role:
Join Date: Feb 2005
Posts: 1,699
|
Why keep using SSI when you can use PHP includes? Besides, PHP includes give you much more flexibility.
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Nov 2003
Posts: 876
|
php for the win
__________________
//porn-oh network |
|
|
|