开发者

PHP Include does not reflect file changes

开发者 https://www.devze.com 2023-03-25 01:38 出处:网络
I have a personal web site at a PHP host and include a fixed header file (a simple HTML banner and menu etc.) in every page. I include header with PHP include command; however although I change the he

I have a personal web site at a PHP host and include a fixed header file (a simple HTML banner and menu etc.) in every page. I include header with PHP include command; however although I change the header file the change does not reflect to t开发者_如何学编程he files which include it.

When I open the header file manually with browser I see changes; also when I delete the file other files cannot show the menu etc (so I am dealing with the correct file) but the changes do not show on includers.

Any suggestions?


I would talk to the host. They may be caching the header file as a "service" for you. If so, it may show up in a day or so.

-Dave

0

精彩评论

暂无评论...
验证码 换一张
取 消