SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    <? echo "Kick me"; ?> petesmc's Avatar
    Join Date
    Nov 2000
    Location
    Hong Kong
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does sitepoint use includes in PHP?


  2. #2
    Irritability Defined
    Join Date
    Jul 2000
    Location
    80,000 feet below the surface
    Posts
    1,442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Straight answer : yes.
    My 2 Cents (or is that 2.2 Cents including GST?)

  3. #3
    Fluffy Kitten Programmer~ Elledan's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    1,356
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Certain parts, like the top and footer of the page and menus are on nearly all sites that use PHP included using the PHP include() (or require() ) function.

    It would be very unlogical to use SSI or static HTML pages.
    www.nyanko.ws - My web-, software- and game development company.
    www.mayaposch.com - My personal site and blog.

  4. #4
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The forum's HTML is pulled out of an SQL database - I'd imagine (though I'm not sure), that the HTML for the other pages is done the same way...

  5. #5
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Are you talking about SSI or the PHP function include()?

    As I see it, SitePoint uses SSI in some parts most notably the Newsletter Archives. However since the rest of the network is generated dynamically using PHP, it most likely uses templates and a series of files to build each page. Strictly speaking, I know the various "Active Topics" and the Forum Listing on the sitemap are separate files that are either included or required using functions in PHP.

    With Server-Side Scripting languages like PHP, ASP and JSP, SSI like its partner CGI are needed less and less to develop state of the art sites.
    Wayne Luke
    ------------


  6. #6
    <? echo "Kick me"; ?> petesmc's Avatar
    Join Date
    Nov 2000
    Location
    Hong Kong
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am talking about php's include()

  7. #7
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Most likely. Especially with the files I listed above (latest.php = Active Topics and forummap = Forum Listing).
    Wayne Luke
    ------------


  8. #8
    <? echo "Kick me"; ?> petesmc's Avatar
    Join Date
    Nov 2000
    Location
    Hong Kong
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK, just asked to see whether i should use on my site

  9. #9
    Irritability Defined
    Join Date
    Jul 2000
    Location
    80,000 feet below the surface
    Posts
    1,442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, the vast majority of includes are PHP includes.
    My 2 Cents (or is that 2.2 Cents including GST?)


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
  •