dongtun3328 2013-09-14 15:11
浏览 19

PHP使用错误的css文件

I am linking a css file like this in my php-program:

<html>
<head>
<title>Untitled Document</title>
<link href='sa_mal_link_1.css' rel='stylesheet' type='text/css'>
</head>

If i change the css file, then the updates doesn't work. The php-program finds only the old version of the css-file. There is no other file with the same name on the pc (if i change the name of the css-file then it work, intil i want to update this one too).

Where is the old Version of the css-file coming from? some sort php-cache? How do i fix it?

Using: wampserver 2.0 + php Version 5.3.0 + Apache-server versjon 2.2.11

  • 写回答

5条回答 默认 最新

  • duanqian3953 2013-09-14 15:13
    关注

    Sounds like your browser is caching the old page. Clear the browser’s cache, close and reopen the browser. Try again.

    评论

报告相同问题?

悬赏问题

  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?