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

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-27 Thread Ross Hansen
You don't want to echo it as it isn't something that is going to HTML. it is native PHP. the correct command should be See how this goes. > To: php-general@lists.php.net > From: jim.gi...@albanyhandball.com > Date: Wed, 27 Apr 2011 22:12:23 -0400 > Subject: Re: [PHP] r

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
e: Wed, 27 Apr 2011 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" wroteYou need to still put in the > standard PHP tags as

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" 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 General Mailing List (http://www.php.net/) To unsubscribe, visit

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 > 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 in the cache >

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" >> > 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: no-cache")

Re: [PHP] refreshing pages in the cache

2011-04-27 Thread Sean Greenslade
On Wed, Apr 27, 2011 at 8:50 PM, Jim Giner wrote: > 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.ph

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 4:42 PM, Jim Giner wrote: > I"m 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

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 an included php file

2005-03-21 Thread Chris W. Parker
AndreaD 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 > calculat

RE: [PHP] Refreshing page after form submission

2004-12-17 Thread S.D.Price
ue = $row_gtitle_unique['title']; 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 D

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 th

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 } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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> cl

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 functio

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 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

2003-06-30 Thread Stephen
"Tom Rogers" <[EMAIL 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

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 -> se

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 thi

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 refr

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 alon

Re: [PHP] Refreshing

2003-06-30 Thread Marco Tabini
ior Executive Web Developer > Mophus.com, Inc. > > > - Original Message - > From: "Marco Tabini" <[EMAIL PROTECTED]> > To: "Stephen" <[EMAIL PROTECTED]> > Cc: "Jay Blanchard" <[EMAIL PROTECTED]>; "PHP List" > <[

Re: [PHP] Refreshing

2003-06-30 Thread Stephen
ist" <[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 don't click, and you can check whether new data is available by the size of the returned image (e.g.: 1 pixel, no new

Re: [PHP] Refreshing

2003-06-30 Thread Marco Tabini
d" <[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 di

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

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 stop

RE: [PHP] Refreshing session variables

2002-07-18 Thread John Holmes
> $x = mt_rand (1000,1); > $y = mt_rand (1000,1); > > $text = $x.$y; > $secretstring =$x.$y; > > session_start(); > if(session_is_registered("secretstring")){ > session_unregister("secretstring"); > } > session_register("secretstring"); What good do you think this does? There is no 'el

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(); (refresh)"; ?> When you activate

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 b

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

RE: [PHP] refreshing PHP on onClick

2002-05-16 Thread Leotta, Natalie (NCI/IMS)
Message- From: Robert Cummings [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 b

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 PROTECT

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

RE: [PHP] Refreshing a page.

2002-02-12 Thread Rick Emery
did you try: 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 frames. When a user logges in I would lik

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: &g

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 type=\"text\" name=\"foo\" value=\"$b

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

2001-09-02 Thread Valter Santos
t: Friday, 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 > ser

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

2001-09-02 Thread Valter Santos
> Sent: Friday, 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, > > &g

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-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 chan

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 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 a

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 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

Re: [PHP] Refreshing Window

2001-01-13 Thread Matt McClanahan
On Sat, 13 Jan 2001, Mark Lo wrote: > Hi, > > I would like to know the method to refresh one window when closing > another windows. That'd be a Javascript thing. onClose one window, refresh the other. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI