troubleshooting Question

PHP code in index.html

Avatar of csehz
csehzFlag for Hungary asked on
Web Languages and StandardsHTMLPHP
6 Comments1 Solution586 ViewsLast Modified:
Dear Experts,

I have a small php code which put to a html file, named as test.html and this works fine, including the file content of aside1.html in test.html.

The strange is that if I rename this test.html to index.html, somehow it does now work, not loading the file content. Do you have idea why? Simple the different file name can have such effect?


  <div id="aside1">
     <!--#include file="aside1.html" -->
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros