SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    cd /pub; more beer diacono's Avatar
    Join Date
    Dec 2000
    Location
    Horsham, West Sussex, UK
    Posts
    277
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well i've just found out how easy it is to use ssi's but i dont want to change the files to *.shtml, instead i'm planning on using the XBitHack so that i can contine using *.html.

    but in the future i most posible would have plans to database the site with php/mysql. thats one of the reasons on using the XBitHack.

    but would there be a problem? could include ssi in a *.php file? and if so, are there any security risks in having the *.php file executable??

    thanx fot the advice.

  2. #2
    SitePoint Wizard
    Join Date
    Apr 2000
    Posts
    1,483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In a .php file, there is a slightly shorter syntax for includes:
    Code:
    include("file");
    I don't think having the php file executable would cause a problem but that shouldn't be neccesary - just replace all your includes with the syntax above.

  3. #3
    cd /pub; more beer diacono's Avatar
    Join Date
    Dec 2000
    Location
    Horsham, West Sussex, UK
    Posts
    277
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <hey!> thats a lot easier...
    cheers James


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
  •