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

Re: [PHP] Internal PHP caching methodology

2009-07-20 Thread Eric Butera
PHP caching? I am not talking about the external php cache/header control.  Smarty caching doesn't give me the control I need either. I would like to cache to a finer level than page by page, but rather on a module by module basis.  Each of my pages contains a subset of modules

Re: [PHP] Internal PHP caching methodology

2009-07-18 Thread Daniel Kolbo
Daniel Kolbo wrote: Eric Butera wrote: On Thu, Jul 16, 2009 at 5:50 PM, Daniel Kolbokolb0...@umn.edu wrote: Hello, Call me a dreamer...but I got to ask. Is there any software for helping speed up PHP by utilizing internal PHP caching? I am not talking about the external php cache/header

Re: [PHP] Internal PHP caching methodology

2009-07-17 Thread Daniel Kolbo
Eric Butera wrote: On Thu, Jul 16, 2009 at 5:50 PM, Daniel Kolbokolb0...@umn.edu wrote: Hello, Call me a dreamer...but I got to ask. Is there any software for helping speed up PHP by utilizing internal PHP caching? I am not talking about the external php cache/header control. Smarty

[PHP] Internal PHP caching methodology

2009-07-16 Thread Daniel Kolbo
Hello, Call me a dreamer...but I got to ask. Is there any software for helping speed up PHP by utilizing internal PHP caching? I am not talking about the external php cache/header control. Smarty caching doesn't give me the control I need either. I would like to cache to a finer level than

Re: [PHP] Internal PHP caching methodology

2009-07-16 Thread Phpster
On Jul 16, 2009, at 5:50 PM, Daniel Kolbo kolb0...@umn.edu wrote: Hello, Call me a dreamer...but I got to ask. Is there any software for helping speed up PHP by utilizing internal PHP caching? I am not talking about the external php cache/header control. Smarty caching doesn't give

Re: [PHP] Internal PHP caching methodology

2009-07-16 Thread Eric Butera
On Thu, Jul 16, 2009 at 5:50 PM, Daniel Kolbokolb0...@umn.edu wrote: Hello, Call me a dreamer...but I got to ask. Is there any software for helping speed up PHP by utilizing internal PHP caching? I am not talking about the external php cache/header control.  Smarty caching doesn't give me

Re: [PHP] Caching

2009-04-11 Thread Richard Heyes
Hey! About  Header set Expires Thu, 15 Apr 2010 20:00:00 GMT The problem is the files might change, lets say - every week. How can I use Header set Expires Thu, 15 Apr 2010 20:00:00 GMT to something like Header set Expires today plus week (or X seconds / y minutes / etc...) In that case

Re: [PHP] Caching

2009-04-10 Thread Richard Heyes
Hi, I started caching some of the static files on my application, I was wondering - Lets say I have an article on my website and I *want* to cache it. How will I cache it AND will be able to make my visitors re-cache it if it has been changed? Work from the last modified date/time on the

Re: [PHP] Caching

2009-04-10 Thread דניאל דנון
Hey! About Header set Expires Thu, 15 Apr 2010 20:00:00 GMT The problem is the files might change, lets say - every week. How can I use Header set Expires Thu, 15 Apr 2010 20:00:00 GMT to something like Header set Expires today plus week (or X seconds / y minutes / etc...) On Fri, Apr 10,

[PHP] Caching

2009-04-09 Thread דניאל דנון
I started caching some of the static files on my application, I was wondering - Lets say I have an article on my website and I *want* to cache it. How will I cache it AND will be able to make my visitors re-cache it if it has been changed? I read how to do that on static pages, but couldn't find

[PHP] Caching and Optimization

2008-06-05 Thread VamVan
Hello All, Today my question is about the all important topic Web Optimization What kind of caching mechanisms can I use for Mysql Queries? I was wondering if you have some methods would you share some code? What kind of caching and optimization mechanisms can I use for frequent Web Service

Re: [PHP] Caching and Optimization

2008-06-05 Thread Nathan Nobbe
On Thu, Jun 5, 2008 at 10:16 AM, VamVan [EMAIL PROTECTED] wrote: Hello All, Today my question is about the all important topic Web Optimization What kind of caching mechanisms can I use for Mysql Queries? mysql has its own caching support, worth looking into. you can also cache query

[PHP] Caching options - trunkcache?

2007-03-12 Thread Merlin
Hi there, I am looking for a replacement of php trunkcache. As far as I can see, there is no further development and I had to take it offline due a system update and compatibility issues. What would you guys recommend for a free caching system on a LAMP environment running php 4.x apache

Re: [PHP] Caching options - trunkcache?

2007-03-12 Thread Jochem Maas
Merlin wrote: Hi there, I am looking for a replacement of php trunkcache. As far as I can see, there is no further development and I had to take it offline due a system update and compatibility issues. What would you guys recommend for a free caching system on a LAMP environment running

Re: [PHP] Caching options - trunkcache?

2007-03-12 Thread clive
Merlin wrote: I am looking for a replacement of php trunkcache. I think you meant turck mmcache? have a look at these: http://eaccelerator.net (derivative of mmcache last release: 2006/02/15) http://www.php-accelerator.co.uk/ -- Regards, Clive. Real Time Travel Connections {No

Re: [PHP] Caching options - trunkcache?

2007-03-12 Thread Merlin
clive schrieb: Merlin wrote: I am looking for a replacement of php trunkcache. I think you meant turck mmcache? have a look at these: http://eaccelerator.net (derivative of mmcache last release: 2006/02/15) http://www.php-accelerator.co.uk/ thanx I tried php-accelerator. Lets see if

Re: [PHP] Caching options - trunkcache?

2007-03-12 Thread Richard Lynch
APC is getting rolled into PHP 6, allegedly. So that's kind of a no-brainer to choose, imho, as then you can be forwards-compatible with something that turns into the PHP Dev Teams' maintenance work instead of your own. Zend Cache may still be faster, as they got the jump on the PHP code caching

[PHP] Caching problems .. I think

2005-10-16 Thread Søren Schimkat
Hi guys I have a rather simple setup: A few forms chained after each other (the first leds to the second which leeds to the third and so on) I´m using sessions - and starting each page like this: header('Expires: ' . gmdate('D, d M Y H:i:s', (time() + (60 * 10))) . ' GMT');

Re: [PHP] caching parsed XML files as DOM objects in memory

2005-10-10 Thread Petr Smith
I'm writing template library based on XML. But it's not very efficient to create new DomDocument, load XML template, process it and show on every page hit. XML parsing is not very fast, and because I'm parsing XHTML with entities, all DTD's are parsed too. I thought about something similar to

Re: [PHP] caching parsed XML files as DOM objects in memory

2005-10-07 Thread Richard Lynch
On Wed, October 5, 2005 8:11 am, Petr Smith wrote: is it possible to cache parsed XML files somehow? I think this is the wrong question... I mean, OF COURSE, it's possible to cache them SOMEHOW. You could toss them in your file system, or a database, insert a machine with squid on it into the

Re: [PHP] caching parsed XML files... FALSE advice, still not working

2005-10-06 Thread Petr Smith
Petr Smith wrote: Jasper Bryant-Greene wrote: Petr Smith wrote: is it possible to cache parsed XML files somehow? I'm writing template library based on XML. But it's not very efficient to create new DomDocument, load XML template, process it and show on every page hit. XML parsing is not

Re: [PHP] caching parsed XML files... FALSE advice, still not working

2005-10-06 Thread Jasper Bryant-Greene
Petr Smith wrote: it's not working at all. And it could never work. I don't think it's funny to write false advices to people every other week. I've installed APC cache, tried to save XML. It was not working. apc_fetch returned NULL every time. [snip] When I looked into documentation for

Re: [PHP] caching parsed XML files as DOM objects in memory

2005-10-06 Thread Petr Smith
it's not working at all. And it could never work. I don't think it's funny to write false advices to people every other week. I've installed APC cache, tried to save XML. It was not working. apc_fetch returned NULL every time. [snip] When I looked into documentation for APC - there is this

[PHP] caching parsed XML files as DOM objects in memory

2005-10-05 Thread Petr Smith
Hi, is it possible to cache parsed XML files somehow? I'm writing template library based on XML. But it's not very efficient to create new DomDocument, load XML template, process it and show on every page hit. XML parsing is not very fast, and because I'm parsing XHTML with entities, all

RE: [PHP] caching parsed XML files as DOM objects in memory

2005-10-05 Thread Daevid Vincent
passes a reference to itself to another object). If you figure out a way, please let me/us know... *sigh* -Original Message- From: Petr Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 6:11 AM To: php-general@lists.php.net Subject: [PHP] caching parsed XML files

Re: [PHP] caching parsed XML files as DOM objects in memory

2005-10-05 Thread Jasper Bryant-Greene
Petr Smith wrote: is it possible to cache parsed XML files somehow? I'm writing template library based on XML. But it's not very efficient to create new DomDocument, load XML template, process it and show on every page hit. XML parsing is not very fast, and because I'm parsing XHTML with

Re: [PHP] caching parsed XML files as DOM objects in memory

2005-10-05 Thread Petr Smith
Jasper Bryant-Greene wrote: Petr Smith wrote: is it possible to cache parsed XML files somehow? I'm writing template library based on XML. But it's not very efficient to create new DomDocument, load XML template, process it and show on every page hit. XML parsing is not very fast, and

[PHP] Caching Database Information

2004-08-25 Thread Paul Higgins
Hello all, I have some questions regarding caching information with PHP. I was thinking that I might cache all information that won't be changing for long periods of time...possibly only once a day or so, instead of querying the database for information every time. My question is: is there

Re: [PHP] Caching Database Information

2004-08-25 Thread Greg Donald
systems. There are also PHP caching tools like TurkeMM Cache and Zend that cache byte code only. I'd bench it both ways and then decide based on the queries, the development environment, and the cache timeout limitations/requirements. -- Greg Donald -- PHP General Mailing List (http://www.php.net

RE: [PHP] Caching Database Information

2004-08-25 Thread Greg Donald
On Wed, 2004-08-25 at 16:32, Scott Hyndman wrote: I've found that caching LARGE datasets can be really useful. Filesystem access is blazing fast, and at least in my case, I've found it to be significantly faster than the time it takes to process a query and return the dataset. Too much

Re: [PHP] Caching Database Information

2004-08-25 Thread raditha dissanayake
Paul Higgins wrote: Hello all, I have some questions regarding caching information with PHP. I was thinking that I might cache all information that won't be changing for long periods of time...possibly only once a day or so, instead of querying the database for information every time. My

RE: [PHP] innodb + php caching issues

2003-09-14 Thread esctoday.com | Wouter van Vliet
Might want to try to send aa 'commit' command to the database. Just the first thing that enters my mind - -Original Message- - From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] - Sent: zondag 14 september 2003 7:55 - To: [EMAIL PROTECTED] - Subject: [PHP] innodb + php caching issues

Re: [PHP] caching program

2003-09-14 Thread Curt Zirzow
* Thus wrote Andrea Tricco ([EMAIL PROTECTED]): For the images that don't contain http://; my program is already able to get them from the web server. In other cases, I have to determine the name of the directory where the html page is located. Thus, the equivocal paths are the problem, for

Re: [PHP] caching program...

2003-09-13 Thread Curt Zirzow
* Thus wrote Andrea Tricco ([EMAIL PROTECTED]): Hi, Hello I'm using the function file_get_contents() to replicate the content of a remote html page on my server. But, the function file_get_contents() works even when the name of the file is not specified. For example:

[PHP] innodb + php caching issues

2003-09-13 Thread daniel
Hi there i have experienced a wierd bug , where after i commit a query in innodb that change wont be viewable until i refresh the page , this doesnt happen in a similar system framwork using myisam tables the change is viewable, what could be the problem ? should i just give nocache headers for a

[PHP] caching program...

2003-09-12 Thread Andrea Tricco
Hi, I'm using the function file_get_contents() to replicate the content of a remote html page on my server. But, the function file_get_contents() works even when the name of the file is not specified. For example: http://www.php.net; rather that http://php.net/index.php; Does a method

Re: [PHP] caching program...

2003-09-12 Thread Marek Kilimajer
No way, it might be anything from apache's DirectoryIndex directive. Browsers don't know that either. Andrea Tricco wrote: Hi, I'm using the function file_get_contents() to replicate the content of a remote html page on my server. But, the function file_get_contents() works even when the

[PHP] caching program

2003-09-12 Thread Andrea Tricco
Hi, I'm using the function file_get_contents() to replicate the content of a remote html page on my server. But, the function file_get_contents() works even when the name of the file is not specified. For example: http://www.php.net; rather that http://php.net/index.php; Does a method exist to

Re: [PHP] caching program

2003-09-12 Thread Ryan Gibson
You could pull out all the img src attributes and if they don't contain http://; then prepeand the address of te page then download otherwise just downlocad the url, but to get the page to work in the new location you may have to replace the img src attributes Ryan Gibson --- [EMAIL

Re: [PHP] caching program

2003-09-12 Thread Andrea Tricco
PROTECTED] To: Andrea Tricco [EMAIL PROTECTED]; php-general [EMAIL PROTECTED] Sent: Friday, September 12, 2003 12:26 PM Subject: Re: [PHP] caching program You could pull out all the img src attributes and if they don't contain http://; then prepeand the address of te page then download

Re: [PHP] caching program

2003-09-12 Thread Andrea Tricco
/manual/it/ Best regards. Andrea - Original Message - From: Andrea Tricco [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 1:11 PM Subject: Re: [PHP] caching program For the images that don't contain http://; my program is already able to get them

Re: [PHP] caching program

2003-09-12 Thread Raditha Dissanayake
once upon a long ago someone (i belive his name is Hrvoje Niksic) wrote a program called wget so that people do not have to do all this :-) Andrea Tricco wrote: Hi, I'm using the function file_get_contents() to replicate the content of a remote html page on my server. But, the function

Re: [PHP] caching program

2003-09-12 Thread Ryan Gibson
On 17/9/03 12:18 pm, Andrea Tricco [EMAIL PROTECTED] wrote: Thus, the equivocal paths are the problem, for example: www.php.net/manual/it/index.php www.php.net/manual/it/ For the above examples the url is the string up to the last '/' char (as long as the string after the '/' char has an

[PHP] caching question

2003-07-19 Thread Jean-Christian IMbeault
I am using Apache 1.3.27 and PHP 4.3.3.RC1 and someone has told me that my web page cannot be cached but I cannot figure out why. My friend tells me my pages all keep sending this in their headers: Cache-Control: post-check=0, must-revalidate, no-store, no-cache, pre-check=0 But I can't

Re: [PHP] caching question

2003-07-19 Thread Curt Zirzow
Jean-Christian IMbeault [EMAIL PROTECTED] wrote: I am using Apache 1.3.27 and PHP 4.3.3.RC1 and someone has told me that my web page cannot be cached but I cannot figure out why. My friend tells me my pages all keep sending this in their headers: Cache-Control: post-check=0,

RE: [PHP] caching variables and preloading functions

2003-06-02 Thread Lance Lovette
://pwee.sourceforge.net/ Lance -Original Message- From: ssamuel [mailto:[EMAIL PROTECTED] Sent: Sunday, May 25, 2003 7:05 PM To: [EMAIL PROTECTED] Subject: [PHP] caching variables and preloading functions Hi, I am looking for a way to do the following with PHP on Apache. 1) I have

Re: [PHP] PHP caching ideas?

2002-10-14 Thread Krzysztof Dziekiewicz
Is the general logic to slice the page into some general pieces. For example ones that have always general data and those that change. Then the ones that don't change are streamed to the user using passthrough and the rest of the page is generated dynamically with the newest relevant data.

Re: [PHP] PHP caching ideas?

2002-10-14 Thread Maxim Maletsky
general pieces. For example ones that have always general data and those that change. Then the ones that don't change are streamed to the user using passthrough and the rest of the page is generated dynamically with the newest relevant data. Or are there any other good ideas to solve PHP caching

Re: [PHP] PHP caching ideas?

2002-10-14 Thread olinux
Smarty template will allow you to cache certain pieces. http://smarty.php.net olinux --- Krzysztof Dziekiewicz [EMAIL PROTECTED] wrote: Is the general logic to slice the page into some general pieces. For example ones that have always general data and those that change. Then the ones

Re: [PHP] PHP caching ideas?

2002-10-14 Thread Maxim Maletsky
Though, I would not reccomend it to you as your caching mechanism. Only for when you are actually using Smarty.. which is still makes no much sence since Smarty is saving the compiled version of your file. Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // where PHP Begins On Mon, 14

[PHP] PHP caching ideas?

2002-10-12 Thread Hans Himmel
. Or are there any other good ideas to solve PHP caching problems? Thanks, Hans _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[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 dynamic thumbnail

2002-07-10 Thread Roger Thomas
just would like to confirm here whether thumbnail images that i generated dynamically with gd is cached by browsers. a) i have a html frontend to call the php script that does that thumbnail. this html file, say, view.htm contains these lines: html img

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

[PHP] Caching in php?

2002-02-06 Thread Erick Papadakis
hello, i used asp and it seems there is an application object which can help in caching of data. (e.g., http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=142). is this possible using php? what can i do to use caching on my website which is totally database driven? thanks/erick

Re: [PHP] Caching in php?

2002-02-06 Thread Wolfram Kriesing
is this possible using php? what can i do to use caching on my website which is totally database driven? try PEAR::Cache http://pear.php.net -- Wolfram -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Caching in php?

2002-02-06 Thread Jeff Bearer
There is Zend Cache, it expensive and you have to pay per processor. That drove folks to develop APC (Alternitive PHP Cache) which is open source. http://apc.communityconnect.com/ They take the PHP source and compile it into machine code and stores that code, which saves porcessor overhead when

[PHP] caching madness

2001-09-20 Thread Christian Haines
hi all, i have tried everything not to get a page to cache.. server-side: header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header('Last-Modified: '. gmdate('D, d M Y H:i:s') .' GMT'); header('Cache-Control: no-cache, must-revalidate'); header('Pragma: no-cache') client-side: meta

[PHP] caching and IE 5

2001-08-09 Thread Karl Phillipson
Is anyone else having fun and games with IE 5.0 and caching? I have the no-cache code (below) before anything else in my index file. Following that an include file is pulled in that has a form with a text input field that echos the date and time. Whenever I refresh the page the time does not

Re: [PHP] caching and IE 5

2001-08-09 Thread Daniel James
On Thu, 9 Aug 2001, Karl Phillipson wrote: Is anyone else having fun and games with IE 5.0 and caching? I have the no-cache code (below) before anything else in my index file. Following that an include file is pulled in that has a form with a text input field that echos the date and time.

RE: [PHP] caching and IE 5

2001-08-09 Thread Lawrence . Sheed
. -Original Message- From: Karl Phillipson [mailto:[EMAIL PROTECTED]] Sent: August 9, 2001 5:21 PM To: '[EMAIL PROTECTED]' Subject: [PHP] caching and IE 5 Is anyone else having fun and games with IE 5.0 and caching? I have the no-cache code (below) before anything else in my index file. Following

RE: [PHP] caching and IE 5

2001-08-09 Thread Karl Phillipson
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 09 August 2001 10:37 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] caching and IE 5 Try this head META Http-Equiv=Cache-Control Content=no-cache META Http-Equiv=Pragma Content=no-cache META Http-Equiv

Re: [PHP] caching

2001-07-04 Thread Jon Yaggie
: no-cache); header (Cache-Control: no-cache, must-revalidate, max_age=0); header (Expires: 0); Have fun Kevin - Original Message - From: Jon Yaggie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 4:36 PM Subject: [PHP] caching Ok I am dynamically creating images. my

AW: [PHP] caching

2001-07-03 Thread Sebastian Stadtlich
] Betreff: [PHP] caching Ok I am dynamically creating images. my problem is my browser is caching the images (or at least half ot them - i see no particular system to which) i have no idea how to stop this. i have tried using the header Cache-Control: no-cahe However it seems to have

Re: [PHP] caching

2001-07-03 Thread Jay Paulson
(Cache-Control: no-cache, must-revalidate); Jay Paulson Internet Program Director LBJS [EMAIL PROTECTED] - Original Message - From: Jon Yaggie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 5:36 PM Subject: [PHP] caching Ok I am dynamically creating images. my

[PHP] caching

2001-06-30 Thread Jon Yaggie
Ok I am dynamically creating images. my problem is my browser is caching the images (or at least half ot them - i see no particular system to which) i have no idea how to stop this. i have tried using the header Cache-Control: no-cahe However it seems to have no helped. maybe i am using

[PHP] Caching Authentification

2001-04-28 Thread Steve Haemelinck
Hi all I use sessions the authenticate users, but I seem to have a problem. This is what happens: 1) A user logs in on PC one with his username and password. (So far so good) 2) Another user logs in with his details on the same computer -- He is logged in with his details but the page displayed