Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 150
  • Last Modified:

My includes do not showup when I do a Preview

I have navagation bars on my site that I have used an include statement to get them to show.  However, they do not show up in preview with browser.  Some of my pictures that I have saved in the image directory and show up fine under normal do not show up either.  What is up?
0
bergm57
Asked:
bergm57
1 Solution
 
geekgrrlCommented:
Do they show up when you "preview in browser?" Sometimes includes don't show up in FP...it's a real pain - but it does show up in the browser.

0
 
webwomanCommented:
They won't show up until you publish the page. Includes run on the SERVER, not the CLIENT, and unless the page is being server by the SERVER it won't work.

It also won't work if you don't use the proper file extension -- includes require an shtml or asp extension or the server won't parse the code.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now