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
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
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
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
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:
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:
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
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
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
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
: [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
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
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.
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,
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
'];
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
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
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
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
[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
[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
-
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
[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
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
.
- 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
[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
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
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
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
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
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
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
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
[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
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
: [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
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
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\
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
, 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
, 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
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
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,
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
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
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
-
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
47 matches
Mail list logo