PDA

View Full Version : ssi on a .php page



piazafan31
February 7th, 2003, 17:44
All my pages extensions are .php and i have polls and stuff on my pages but im trying to set up a newsposter and with it you need to change the extension to .shtml so then my polls dont show up:cry2: :rambo2: :robot2: :fork: :chicken:


please help(sorry went crazy on the smilyes:D )

Bruce
February 7th, 2003, 17:47
I'm not sure I understood a word of your post, apart from the title that is, but if you're using PHP, just use PH Pincludes instead of SSI.

piazafan31
February 7th, 2003, 18:08
ill try to make it easier to understand well i got a poll script and set that up on my site and to use that i need to have a .php extension then i tried to setup a newsposter and to use that you need a .shtml extension and i want to know how to use both on the same page the only thing i know is to maybe make an iframe with the news:confused:

spec
February 7th, 2003, 18:24
or add this code:
include('news.txt');

Wojtek
February 7th, 2003, 18:26
or add php as server-parsed