philaweb
07-26-2004, 01:38 PM
OK, it's time for me to grab the bull by the horns. :)
I've tried several times in the past to create some includes for PHP pages, but to no avail. Tried to find some solid tutorials on both SSI and PHP includes, but none of the tutorials really answers my questions.
What I would like to know is how I create an include within a PHP document (and I have tried to follow some of the tutorials link to from this board).
Is it only possible to include a PHP file to a PHP file, or can I include a .txt, .html or even a .shtml file to a PHP file?
TIA :)
I've tried several times in the past to create some includes for PHP pages, but to no avail. Tried to find some solid tutorials on both SSI and PHP includes, but none of the tutorials really answers my questions.
What I would like to know is how I create an include within a PHP document (and I have tried to follow some of the tutorials link to from this board).
Is it only possible to include a PHP file to a PHP file, or can I include a .txt, .html or even a .shtml file to a PHP file?
TIA :)