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

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

RE: [PHP] refreshing an included php file

2005-03-21 Thread Chris W. Parker
AndreaD mailto:[EMAIL PROTECTED] on Monday, March 21, 2005 2:27 PM said: I have a file, index.php and this has an included file, lets call it calculate.php. When I insert values in text boxes and hit submit the values are written as cookies. The question is how can I refresh calculate.php

Re: [PHP] refreshing an included php file

2005-03-21 Thread Richard Lynch
On Mon, March 21, 2005 2:27 pm, AndreaD said: I have a file, index.php and this has an included file, lets call it calculate.php. When I insert values in text boxes and hit submit the values are written as cookies. The question is how can I refresh calculate.php so it shows the new value.

Re: [PHP] Refreshing page after form submission

2004-12-17 Thread Mike Smith
Would something like this work If($_POST['submit']){//add error checking for whatever critical fields echo Thank you for filling out my form.\n; } else { //display form with a input type=submit name=submit value=Save } -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Refreshing page after form submission

2004-12-17 Thread Richard Lynch
S.D.Price wrote: Hi, I have a form which when submitted adds a record to a DB. However if the user clicks back it resubmits the same record. When you send out the FORM the first time, create a random unique value: $token = md5(uniqid()); Store that token in your database in a table. Include

RE: [PHP] Refreshing page after form submission

2004-12-17 Thread S.D.Price
']; if ($title == $title_unique) { $message_unique = You have already entered this record.; $unique = TRUE; } Steve -Original Message- From: Burhan Khalid [mailto:[EMAIL PROTECTED] Sent: 17 December 2004 13:07 To: S.D.Price Subject: Re: [PHP

Re: [PHP] Refreshing in forms using post

2003-12-01 Thread Marek Kilimajer
What header are you using? If you use Location header, this should not happen. Matt Grimm wrote: Suppose I have a form. Upon submission, the metadata is posted to a processing script (a separate PHP file), which parses it and then sends the user back to a particular page using the header

Re: [PHP] Refreshing in forms using post

2003-12-01 Thread Richard Davey
Hello Matt, Monday, December 1, 2003, 10:31:23 PM, you wrote: MG Suppose I have a form. Upon submission, the metadata is posted to a MG processing script (a separate PHP file), which parses it and then sends the MG user back to a particular page using the header function. If said user MG

Re: [PHP] Refreshing After Submitting a From

2003-09-03 Thread Dan Anderson
Does anyone have any ideas on how I could do this? Is there any reason you can't throw a refresh command into a header before any data is sent? -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Refreshing After Submitting a From

2003-09-03 Thread Jay Blanchard
[snip] I have a form on a popup that gets submitted to the PARENTWINDOW. If there was an error while processing the form, it will be displayed in the parentwindow. The popup never closes, but it needs to refresh, cuz it needs to get new data from MySQL. Does anyone have any ideas on how I could

RE: [PHP] Refreshing

2003-06-30 Thread Jay Blanchard
[snip] I have a chat script. I want it to refresh the chat display area whenever there is a new message posted, but not every 10 seconds or so. How could I get the script to refresh only when there is a new entry into the database table? Also, this may not be PHP but...does anyone know how to

Re: [PHP] Refreshing

2003-06-30 Thread Stephen
- From: Jay Blanchard [EMAIL PROTECTED] To: Stephen [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Monday, June 30, 2003 12:41 PM Subject: RE: [PHP] Refreshing [snip] I have a chat script. I want it to refresh the chat display area whenever there is a new message posted, but not every 10

Re: [PHP] Refreshing

2003-06-30 Thread Marco Tabini
[EMAIL PROTECTED] Sent: Monday, June 30, 2003 12:41 PM Subject: RE: [PHP] Refreshing [snip] I have a chat script. I want it to refresh the chat display area whenever there is a new message posted, but not every 10 seconds or so. How could I get the script to refresh only when

Re: [PHP] Refreshing

2003-06-30 Thread Stephen
PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Monday, June 30, 2003 12:41 PM Subject: RE: [PHP] Refreshing [snip] I have a chat script. I want it to refresh the chat display area whenever there is a new message posted, but not every 10 seconds or so. How could I get the script to refresh only when

Re: [PHP] Refreshing

2003-06-30 Thread Marco Tabini
. - Original Message - From: Marco Tabini [EMAIL PROTECTED] To: Stephen [EMAIL PROTECTED] Cc: Jay Blanchard [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Monday, June 30, 2003 12:52 PM Subject: Re: [PHP] Refreshing Try using Javascript to reload an image instead of an HTML file. Images

Re: [PHP] Refreshing

2003-06-30 Thread Jeremy Thibeaux
[snip] I have a chat script. I want it to refresh the chat display area whenever there is a new message posted, but not every 10 seconds or so. How could I get the script to refresh only when there is a new entry into the database table? [/snip] I have implemented something along these

Re: [PHP] Refreshing

2003-06-30 Thread Marco Tabini
The image should take care of the click, and also reduce the amount of information transmitted somewhat (although not necessarily, depending on what you send to your iframe). Cheers, Marco On Mon, 2003-06-30 at 14:09, Jeremy Thibeaux wrote: [snip] I have a chat script. I want it to refresh

Re: [PHP] Refreshing

2003-06-30 Thread Jeremy Thibeaux
The only problem I have with the image idea is that it is not particularly generic and a bit unusual (i.e. kindof a hack). The IFRAME would need only contain a simple JavaScript function call, so it would be pretty small (the data would probably be less than the HTTP header information), and

Re: [PHP] Refreshing

2003-06-30 Thread James Hicks
On Tuesday 01 July 2003 12:30 am, Tom Rogers wrote: Hi, Tuesday, July 1, 2003, 3:41:56 AM, you wrote: JB Also, this may not be PHP but...does anyone know how to stop the JB annoying click on Internet Explorer when something refreshes? JB [/snip] control panel - sounds - set select to

Re: [PHP] Refreshing

2003-06-30 Thread Stephen
PROTECTED]; Jay Blanchard [EMAIL PROTECTED] Cc: Stephen [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Monday, June 30, 2003 11:39 PM Subject: Re: [PHP] Refreshing On Tuesday 01 July 2003 12:30 am, Tom Rogers wrote: Hi, Tuesday, July 1, 2003, 3:41:56 AM, you wrote: JB Also, this may not be PHP

Re: [PHP] Refreshing session variables

2002-07-18 Thread Kevin Stone
I think you're missing some fundamental concepts of sessions here. You must think of the session as a file that you're going to include into the script (becuase.. that's litteraly what it is). But instead of using include() you're going to use session_start(); ? session_start(); if

Re: [PHP] refreshing PHP on onClick

2002-05-16 Thread Robert Cummings
Leotta, Natalie (NCI/IMS) wrote: This might be a little bit JS and a little bit PHP. I'm wondering if there's an easy way to refresh a PHP page on an onClick and change one parameter (say someone wants to redraw the graph, but with the points). I don't want to pay attention to any of the

Re: [PHP] refreshing PHP on onClick

2002-05-16 Thread Kevin Stone
I'm not certain I understand your situation. If you're trying to keep state between each new input then I would recommend PHP sessions to store your variables. Could you elaborate more what you're trying to do? -Kevin - Original Message - From: Leotta, Natalie (NCI/IMS) [EMAIL

RE: [PHP] refreshing PHP on onClick

2002-05-16 Thread Leotta, Natalie (NCI/IMS)
[mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 3:56 PM To: Leotta, Natalie (NCI/IMS) Cc: [EMAIL PROTECTED] Subject: Re: [PHP] refreshing PHP on onClick Leotta, Natalie (NCI/IMS) wrote: This might be a little bit JS and a little bit PHP. I'm wondering if there's an easy way to refresh

Re: [PHP] refreshing PHP on onClick

2002-05-16 Thread Robert Cummings
Leotta, Natalie (NCI/IMS) wrote: It's all in a password protected site because the data's all confidential at this point in time, but I can give you a mental picture. There are a bunch of dropdowns - State, Cancer, Sex, Race, Age. We're drawing a graph of best fit lines - up to 5 allowed

RE: [PHP] refreshing PHP on onClick

2002-05-16 Thread Leotta, Natalie (NCI/IMS)
: [EMAIL PROTECTED] Subject: Re: [PHP] refreshing PHP on onClick Leotta, Natalie (NCI/IMS) wrote: It's all in a password protected site because the data's all confidential at this point in time, but I can give you a mental picture. There are a bunch of dropdowns - State, Cancer, Sex, Race, Age

RE: [PHP] Refreshing a page.

2002-02-12 Thread Rick Emery
did you try: meta http-equiv=refresh content=0; URL=http://my.site.com//thispage.html; -Original Message- From: Morten Nielsen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 3:10 PM To: [EMAIL PROTECTED] Subject: [PHP] Refreshing a page. Hi, I got a page, which uses

Re: [PHP] Refreshing form with submittd data

2001-09-06 Thread David Otton
On Thu, 6 Sep 2001 13:46:59 +0100, you wrote: I have 3 radio buttons, and I want the one selected by the user to show as selected when the page reloads. The form uses POST and points to itself. How can I make this better? With a text field I can just do input type=\text\ name=\foo\

RE: [PHP] Refreshing form with submittd data

2001-09-06 Thread Seb Frost
Thank you thank you thank you. Sheer genius :-) -Original Message- From: David Otton [mailto:[EMAIL PROTECTED]] Sent: 06 September 2001 22:18 To: Seb Frost Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Refreshing form with submittd data On Thu, 6 Sep 2001 13:46:59 +0100, you wrote: I have

RE: [PHP] Refreshing php.ini without restart...

2001-09-02 Thread Valter Santos
, August 31, 2001 8:48 AM To: Raphael Pirker Cc: PHP Subject: Re: [PHP] Refreshing php.ini without restart... I can only speak for apache... == apachectl graceful Raphael Pirker wrote: Hi, i just moved my PHP project from my local PC to the online webserver and I

RE: [PHP] Refreshing php.ini without restart...

2001-09-02 Thread Valter Santos
, August 31, 2001 7:08 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Refreshing php.ini without restart... i just moved my PHP project from my local PC to the online webserver and I will need to do a few adjustments to the server. since the server is used by all the employees in the company

Re: [PHP] Refreshing php.ini without restart...

2001-08-31 Thread Gerard Samuel
I can only speak for apache... == apachectl graceful Raphael Pirker wrote: Hi, i just moved my PHP project from my local PC to the online webserver and I will need to do a few adjustments to the server. since the server is used by all the employees in the company, there is no chance I

Re: [PHP] Refreshing php.ini without restart...

2001-08-31 Thread Miles Thompson
Just restart the web server -- IIS or Apache Miles At 02:06 PM 8/31/01 +0800, Raphael Pirker wrote: Hi, i just moved my PHP project from my local PC to the online webserver and I will need to do a few adjustments to the server. since the server is used by all the employees in the company,

Re: [PHP] Refreshing php.ini without restart...

2001-08-30 Thread B. van Ouwerkerk
i just moved my PHP project from my local PC to the online webserver and I will need to do a few adjustments to the server. since the server is used by all the employees in the company, there is no chance I can reboot it without prior notice... my question: is there any way I can refresh the

Re: [PHP] Refreshing multiple frames?

2001-05-07 Thread Zak Greant
You are going to need Javascript to do this. --zak - Original Message - From: Brandon Orther [EMAIL PROTECTED] To: PHP User Group [EMAIL PROTECTED] Sent: Monday, May 07, 2001 5:19 PM Subject: [PHP] Refreshing multiple frames? Hello, I am using php with frames for a menu bar. In

Re: [PHP] Refreshing multiple frames?

2001-05-07 Thread Data Driven Design
Link to another frameset page if you choose not to use javascript. But IMO there's no such thing as a proper use of frames. Frames should never be used for anything. Data Driven Design P.O. Box 1084 Holly Hill, Florida 32125-1084 http://www.datadrivendesign.com http://www.rossidesigns.net -

Re: [PHP] Refreshing multiple frames?

2001-05-07 Thread Luke Welling
Brandon Orther wrote: I am using php with frames for a menu bar. In one frame I have a menu. When the link is clicked on the menu I would like two frames to be updated. Is there a way to do this? As others have said, this is a JavaScript task not a PHP task. I am pretty sure there is an