Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3

Thread: SSI Probs

  1. #1
    Junior Member
    Join Date
    Nov 2002
    Posts
    6
    Member #
    296

    Current Rating

    Visual Appeal:
    0.0 out of 5

    Accessibility:
    0.0 out of 5

    Website Speed:
    0.0 out of 5

    Compatibility:
    0.0 out of 5

    Overall Rating:
    0.0 out of 5

    Rate This Site


    Advertisement (login to hide this!)


    You must be logged in to view this site

    Hi everybody, I'm Josh. I have recently converted my navigation into a seperate page and use ssi to inlude it onto my index.shtml page. I get something strange. When I upload it to the root directory it displays the entire page underneath the left navigation (which is what is included with the ssi) but if I make a directory on the server and upload it to that it displays normally. I was wondering if anyone had any ideas as to why and if so how to fix it. I wouldn't mind using a different form of code (i've been told by a few people that it is possible by other methods such as php but I haven't been able to find any information on that). I'm really open minded about the ways to correct this. I even considered making a simple redirection page on the root directory and have it redirect to on of the directories that I create on my server. (thats what I have it doing now although I mess with it so much if u view my page there is no telling what will be going on:cheeky: . Thanks in advace for any advice whatsoever. JR

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    You can use PHP like so. Just rename your page from .shtml to .php and use this:
    Code:
    .
    .
    .
    <? require('filename.html'); ?>
    .
    .
    .
    (the dots represent extra code)

    Virtually any server-side language can do this. JSP can and I bet ASP can as well.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Junior Member
    Join Date
    Nov 2002
    Posts
    6
    Member #
    296
    Wow, I had no idea that it was that simple. Thankz a bunch filburt, I'll go and try that now. I really appreciate this.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:28 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com