Author Topic: SSI  (Read 9428 times)

0 Members and 1 Guest are viewing this topic.

Offline HUNTER

  • Newbie
  • *
  • Posts: 18
    • View Profile
SSI
« on: September 16, 2002, 10:52:21 AM »
How i can insert header content via SSI,  PHP include doesn't work, SSI too

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
SSI
« Reply #1 on: September 16, 2002, 10:59:53 AM »
Did you tried:

Code: [Select]
<?php
include&#40;"path/to/file.html"&#41;;
?>

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline HUNTER

  • Newbie
  • *
  • Posts: 18
    • View Profile
SSI
« Reply #2 on: September 16, 2002, 12:54:09 PM »
Thanks a lot, I'am not a programmer, I tried paste this code
Code: [Select]
<?php 
include &#40;"path/to/file.html"&#41;; 
?>
i.e. with a space before (

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
SSI
« Reply #3 on: September 16, 2002, 01:13:20 PM »
That's all the same.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline HUNTER

  • Newbie
  • *
  • Posts: 18
    • View Profile
SSI
« Reply #4 on: September 16, 2002, 02:44:55 PM »
with space before PHP says parser error unexpected string

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
SSI
« Reply #5 on: September 16, 2002, 02:48:34 PM »
And without space?

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline HUNTER

  • Newbie
  • *
  • Posts: 18
    • View Profile
I'am sorry!
« Reply #6 on: September 16, 2002, 09:20:15 PM »
Sorry Jan, this is a my problem, after last ) I didn't type a ";" I'am sorry!....for a stupid question..