SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: SSI vs PHP

  1. #1
    SitePoint Addict joyce's Avatar
    Join Date
    Aug 2001
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SSI vs PHP

    is there any functions in php that acts the same thing like SSI?

  2. #2
    1-800-JMULDER JMulder's Avatar
    Join Date
    May 2001
    Location
    The Netherlands
    Posts
    1,745
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SSI is only including files, PHP can do that too with a different syntax ofcourse =)
    Jeroen Mulder

    w: www.jeroenmulder.com

  3. #3
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,810
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    <?php include("../head.inc"); ?>

    That's one I use quite commonly

    There are other functions such as require() , but the include will perform much the same as ssi

    H
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •