SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: PHP/SSI Include

  1. #1
    Ex-SitePointer silver trophy
    Patrick's Avatar
    Join Date
    Oct 2000
    Location
    Harbinger, NC, U.S.A.
    Posts
    4,126
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I am looking to use these at my site. If anyone could provide me with sample code for these, I would appreciate it.

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What do you mean by PHP/SSI include if you are using php then you can use the include() function in php. Could you explain a little more
    Please don't PM me with questions.
    Use the forums, that is what they are here for.

  3. #3
    Ex-SitePointer silver trophy
    Patrick's Avatar
    Join Date
    Oct 2000
    Location
    Harbinger, NC, U.S.A.
    Posts
    4,126
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Well, for instance, I was looking for sample code... because unlike "freddydoesphp", "ifroggydoesnt" )).

    I tried this:

    <!--#include virtual="estockpickers/index.html" -->

    But it didn't seem to work. I would also ask the question as to what variables can affect this working or not.

  4. #4
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you doing thatin a php page? if so it would just be

    <?
    include("yourfilehere");
    ?>
    Please don't PM me with questions.
    Use the forums, that is what they are here for.

  5. #5
    Ex-SitePointer silver trophy
    Patrick's Avatar
    Join Date
    Oct 2000
    Location
    Harbinger, NC, U.S.A.
    Posts
    4,126
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Ok, I think I figured it all out... at least for the next five minutes. Thanks freddy May the karma be with you lol

  6. #6
    midnight coder
    Join Date
    Dec 2000
    Location
    The flat edge of the world
    Posts
    838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I wish I have a cat like Freddy...


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
  •