Altered html only visible in other browser
Posted: Sat Jan 10, 2009 11:04 am
I have a php script which reads an html file, alters it and saves it.
The browser does not show the new version on refresh; however if I view the page on another browser, it does show the new version, after which the first browser shows the changes on refresh.
This is with caching off in the browsers and in the http-equiv in the html.
If I ftp the altered file back, it shows the changes.
So I think this is not a php issue, but has to do with the caching settings in the Apache server. Any suggestions? This is a remote server and I can't alter the Apache config files.
Is there any way from PHP that I can tell Apache that the file has changed?
The browser does not show the new version on refresh; however if I view the page on another browser, it does show the new version, after which the first browser shows the changes on refresh.
This is with caching off in the browsers and in the http-equiv in the html.
If I ftp the altered file back, it shows the changes.
So I think this is not a php issue, but has to do with the caching settings in the Apache server. Any suggestions? This is a remote server and I can't alter the Apache config files.
Is there any way from PHP that I can tell Apache that the file has changed?