Altered html only visible in other browser

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
waltermilner
Forum Newbie
Posts: 1
Joined: Sat Jan 10, 2009 10:15 am

Altered html only visible in other browser

Post by waltermilner »

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?
Post Reply