Re: [PHP] caching problem

2011-06-28 Thread Stuart Dallas
On Tuesday, 28 June 2011 at 06:57, Fatih P. wrote: On Tue, Jun 28, 2011 at 7:40 AM, Nilesh Govindarajan cont...@nileshgr.com (mailto:cont...@nileshgr.com)wrote: On 06/28/2011 10:56 AM, Fatih P. wrote: Hi guys, the code files are being cached. and modifications in methods are

RE: [PHP] caching problem

2011-06-28 Thread admin
, time() + $offset) . GMT; //output the HTTP header Header($expire); Just a thought. Richard L. Buskirk -Original Message- From: Stuart Dallas [mailto:stu...@3ft9.com] Sent: Tuesday, June 28, 2011 7:53 AM To: Fatih P. Cc: php-general@lists.php.net Subject: Re: [PHP] caching problem

Re: [PHP] caching problem

2011-06-28 Thread Stuart Dallas
On Tue, Jun 28, 2011 at 1:51 PM, Fatih P. fatihpirist...@gmail.com wrote: On Tue, Jun 28, 2011 at 1:52 PM, Stuart Dallas stu...@3ft9.com wrote: On Tuesday, 28 June 2011 at 06:57, Fatih P. wrote: On Tue, Jun 28, 2011 at 7:40 AM, Nilesh Govindarajan cont...@nileshgr.com

RE: [PHP] caching problem

2011-06-28 Thread admin
Message- From: Stuart Dallas [mailto:stu...@3ft9.com] Sent: Tuesday, June 28, 2011 9:18 AM To: Fatih P. Cc: PHP General Subject: Re: [PHP] caching problem On Tue, Jun 28, 2011 at 1:51 PM, Fatih P. fatihpirist...@gmail.com wrote: On Tue, Jun 28, 2011 at 1:52 PM, Stuart Dallas stu...@3ft9.com

Re: [PHP] caching problem

2011-06-28 Thread Fatih P.
On Tue, Jun 28, 2011 at 5:12 PM, ad...@buskirkgraphics.com wrote: Faith, I actually did read from the beginning of the message. That does not make sense. PHP files are cached intentionally, the system does not Cache PHP on its own. Sounds to me like you have an issue re-declaring an

Re: [PHP] caching problem

2011-06-28 Thread Stuart Dallas
On Tue, Jun 28, 2011 at 4:23 PM, Fatih P. fatihpirist...@gmail.com wrote: On Tue, Jun 28, 2011 at 5:12 PM, ad...@buskirkgraphics.com wrote: Faith, I actually did read from the beginning of the message. That does not make sense. PHP files are cached intentionally, the system does not

Re: [PHP] caching problem

2011-06-28 Thread Fatih P.
On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas stu...@3ft9.com wrote: On Tue, Jun 28, 2011 at 4:23 PM, Fatih P. fatihpirist...@gmail.comwrote: On Tue, Jun 28, 2011 at 5:12 PM, ad...@buskirkgraphics.com wrote: Faith, I actually did read from the beginning of the message. That does

Re: [PHP] caching problem

2011-06-28 Thread Stuart Dallas
On Tue, Jun 28, 2011 at 5:12 PM, Fatih P. fatihpirist...@gmail.com wrote: On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas stu...@3ft9.com wrote: Fatih, please explain what you mean by the code files are being cached. and modifications in methods are skipped and not executed. How are you

RE: [PHP] caching problem

2011-06-28 Thread admin
...@buskirkgraphics.com; PHP General Subject: Re: [PHP] caching problem On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas stu...@3ft9.com wrote: On Tue, Jun 28, 2011 at 4:23 PM, Fatih P. fatihpirist...@gmail.comwrote: On Tue, Jun 28, 2011 at 5:12 PM, ad...@buskirkgraphics.com wrote: Faith, I actually did read

Re: [PHP] caching problem

2011-06-28 Thread Steve Staples
On Tue, 2011-06-28 at 17:34 +0100, Stuart Dallas wrote: On Tue, Jun 28, 2011 at 5:12 PM, Fatih P. fatihpirist...@gmail.com wrote: On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas stu...@3ft9.com wrote: Fatih, please explain what you mean by the code files are being cached. and

Re: [PHP] caching problem

2011-06-28 Thread Fatih P.
On Tue, Jun 28, 2011 at 6:39 PM, ad...@buskirkgraphics.com wrote: Fatih, I am sorry spell check auto corrected your name, I was not changing your name on purpose. It was not my intension to piss you off. I understand your frustration, trust me. I am running 5.3.6 on Windows Server

Re: [PHP] caching problem

2011-06-28 Thread Micky Hulse
OP: Can we see the methods in question? Have you tried running the code on a different server/host? Have you added any scaffolding to your methods in order to test your caching theory? This would be the first thing I would try (i.e. create random number (or whatever), concat with variable vals

Re: [PHP] caching problem

2011-06-28 Thread Stuart Dallas
On Tue, Jun 28, 2011 at 5:53 PM, Fatih P. fatihpirist...@gmail.com wrote: On Tue, Jun 28, 2011 at 6:34 PM, Stuart Dallas stu...@3ft9.com wrote: On Tue, Jun 28, 2011 at 5:12 PM, Fatih P. fatihpirist...@gmail.comwrote: On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas stu...@3ft9.com wrote:

[PHP] caching problem

2011-06-27 Thread Fatih P.
Hi guys, the code files are being cached. and modifications in methods are skipped and not executed. is there any parameter that i can pass it from ini file? this has been so annoying for me. restarting apache, windows, etc does not even help. im running apache 2.2.19, php ts 5.3.6 on windows

Re: [PHP] caching problem

2011-06-27 Thread Nilesh Govindarajan
On 06/28/2011 10:56 AM, Fatih P. wrote: Hi guys, the code files are being cached. and modifications in methods are skipped and not executed. is there any parameter that i can pass it from ini file? this has been so annoying for me. restarting apache, windows, etc does not even help. im

Re: [PHP] caching problem

2011-06-27 Thread Fatih P.
On Tue, Jun 28, 2011 at 7:40 AM, Nilesh Govindarajan cont...@nileshgr.comwrote: On 06/28/2011 10:56 AM, Fatih P. wrote: Hi guys, the code files are being cached. and modifications in methods are skipped and not executed. is there any parameter that i can pass it from ini file? this

[PHP] Caching Problem

2002-09-04 Thread Roland Swingler
Hi I have a problem with caching on IE 5.1.4 on Mac Os X. (PHP 4.0.5) The page I want to use is a simple file upload page that works by: ?php if ($HTTP_POST_VARS['submit'] == submit) { then upload the file... } ? Rest of document. The form action returns to the same page (to allow you to

Re: [PHP] Caching Problem

2002-09-04 Thread Jed Verity
Hi, Roland, There might be a better way to do this, but you could try to use the header() function after your upload takes place to redirect the browser to the same page, using GET. Something like... ?php if ($HTTP_POST_VARS['submit'] == submit) { then upload the file... header(Location:

Re: [PHP] Caching Problem

2002-09-04 Thread Marek Kilimajer
Use header(Location: page.php); to redirect the browser, you should allways do it after a post that changes or adds or deletes some data on the server. Roland Swingler wrote: Hi I have a problem with caching on IE 5.1.4 on Mac Os X. (PHP 4.0.5) The page I want to use is a simple file upload

Re: [PHP] Caching Problem

2002-09-04 Thread Jed Verity
Oops. There was an extra period at the end there (after PHP_SELF). ?php if ($HTTP_POST_VARS['submit'] == submit) { then upload the file... header(Location: http://.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']); } ? On the threshold of genius, Jed Verity wrote: Hi, Roland, There might be a

[PHP] Caching problem...?

2002-03-23 Thread Adam Schlag
Hello, I'm having a problem with my Apache/PHP setup. I create a PHP page and test it in a browser, and the page loads and everything is fine. However, when I make a change to my PHP script and reload the page to see my changes, the same output from PHP is given to me. I have to save the page

[PHP] Caching Problem

2002-03-06 Thread Paul A. Procacci
Hey all, I'm trying not to cache a page. I have the following code: $return = split( , exec(vmstat)); $cpu_top = 100; $return = $cpu_top - $return[count($return) -1]; which returns the amount of idle cpu time. The problem is this, every time the page is loaded,