Re: [PHP] refreshing pages in the cache

2011-04-28 Thread Jim Giner
Yes - that seems to be the trick! Thank you very much for your tip AND your patience. :) You've made an old programmer's day! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] refreshing pages in the cache

2011-04-28 Thread Ross Hansen
Your welcome, I am glad that it works and is doing what your after. To: php-general@lists.php.net From: jim.gi...@albanyhandball.com Date: Thu, 28 Apr 2011 09:19:58 -0400 Subject: Re: [PHP] refreshing pages in the cache Yes - that seems

[PHP] refreshing pages in the cache

2011-04-27 Thread Jim Giner
Im trying to make my webpages display random photos on a border. Got it all working now but have a question about the IE cache. Seems that once the page has been displayed, no amount of refresh will make the page rebuild and thus show 'different' pics the second time around. Can php do

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Sean Greenslade
On Wed, Apr 27, 2011 at 4:42 PM, Jim Giner jim.gi...@albanyhandball.comwrote: Im trying to make my webpages display random photos on a border. Got it all working now but have a question about the IE cache. Seems that once the page has been displayed, no amount of refresh will make the page

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Jim Giner
thanks for the input but your first link is invalid and the second I don't understand why you sent me. Perhaps you could explain? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Sean Greenslade
On Wed, Apr 27, 2011 at 8:50 PM, Jim Giner jim.gi...@albanyhandball.comwrote: thanks for the input but your first link is invalid and the second I don't understand why you sent me. Perhaps you could explain? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Jim Giner
ok - I'm lost. What do I do with this knowledge? - Original Message - From: Sean Greenslade zootboys...@gmail.com Sure. In order to tell the browser to not cache a page, you need to set the header Cache-Control: no-cache. This can be done by the PHP command header(Cache-Control:

RE: [PHP] refreshing pages in the cache

2011-04-27 Thread Ross Hansen
You need to still put in the standard PHP tags as you would normally and it is just another line of code. e.g ?php header(Cache-Control: no-cache); ? To: php-general@lists.php.net From: jim.gi...@albanyhandball.com Date: Wed, 27 Apr 2011 21:33:16 -0400 Subject: Re: [PHP] refreshing pages

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Jim Giner
So - it's not an html attribute - it's a PHP command that precedes ALL my html headers? Ross Hansen hansen.r...@live.com.au wroteYou need to still put in the standard PHP tags as you would normally and it is just another line of code. e.g ?php header(Cache-Control: no-cache); ? -- PHP

RE: [PHP] refreshing pages in the cache

2011-04-27 Thread Ross Hansen
21:52:57 -0400 Subject: Re: [PHP] refreshing pages in the cache So - it's not an html attribute - it's a PHP command that precedes ALL my html headers? Ross Hansen hansen.r...@live.com.au wroteYou need to still put in the standard PHP tags as you would normally and it is just another line

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Jim Giner
Must be doing something wrong. Besides not helping my pages to re-build, it actually ruins the presentation of a couple of my pages, even tho they are all using the exact same includes with only some dummy content in one div different than all the other pages. I added this line to my existing

RE: [PHP] refreshing pages in the cache

2011-04-27 Thread Ross Hansen
: [PHP] refreshing pages in the cache Must be doing something wrong. Besides not helping my pages to re-build, it actually ruins the presentation of a couple of my pages, even tho they are all using the exact same includes with only some dummy content in one div different than all