Re: [PHP] caching problem

2011-06-28 Thread Stuart Dallas
On Tue, Jun 28, 2011 at 5:53 PM, Fatih P. wrote: > > > On Tue, Jun 28, 2011 at 6:34 PM, Stuart Dallas wrote: > >> On Tue, Jun 28, 2011 at 5:12 PM, Fatih P. wrote: >> >>> On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas wrote: >>> Fatih, please explain what you mean by "the code files are bei

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 g

Re: [PHP] caching problem

2011-06-28 Thread Fatih P.
On Tue, Jun 28, 2011 at 6:39 PM, 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 2008 R2 IIS, I am ru

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. wrote: > > > On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas wrote: > > > >> Fatih, please explain what you mean by "the code files are being cached. > >> and modifications in methods are skipped >

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 wrote: > On Tue, Jun 28, 2011 at 4:23 PM, Fatih P. wrote: > >> On Tue, Jun 28, 2011 at 5:12 PM, wrote: >> >> > Faith, >> > >> > I actually did read from

Re: [PHP] caching problem

2011-06-28 Thread Stuart Dallas
On Tue, Jun 28, 2011 at 5:12 PM, Fatih P. wrote: > On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas 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 getting the modified files onto the

Re: [PHP] caching problem

2011-06-28 Thread Fatih P.
On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas wrote: > On Tue, Jun 28, 2011 at 4:23 PM, Fatih P. wrote: > >> On Tue, Jun 28, 2011 at 5:12 PM, wrote: >> >> > Faith, >> > >> > I actually did read from the beginning of the message. >> > >> > That does not make sense. >> > PHP files are cached inte

Re: [PHP] caching problem

2011-06-28 Thread Stuart Dallas
On Tue, Jun 28, 2011 at 4:23 PM, Fatih P. wrote: > On Tue, Jun 28, 2011 at 5:12 PM, 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. > > Sound

Re: [PHP] caching problem

2011-06-28 Thread Fatih P.
On Tue, Jun 28, 2011 at 5:12 PM, 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 object or calling the >

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. wrote: > > > On Tue, Jun 28, 2011 at 1:52 PM, Stuart Dallas wrote: > >> O

Re: [PHP] caching problem

2011-06-28 Thread Stuart Dallas
On Tue, Jun 28, 2011 at 1:51 PM, Fatih P. wrote: > > > On Tue, Jun 28, 2011 at 1:52 PM, Stuart Dallas wrote: > >> On Tuesday, 28 June 2011 at 06:57, Fatih P. wrote: >> > On Tue, Jun 28, 2011 at 7:40 AM, Nilesh Govindarajan >> > mailto:cont...@nileshgr.com)>wrote: >> > >> > > On 06/28/2011 10:56

RE: [PHP] caching problem

2011-06-28 Thread admin
("D, d M Y H:i:s", 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.

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

Re: [PHP] caching problem

2011-06-27 Thread Fatih P.
On Tue, Jun 28, 2011 at 7:40 AM, Nilesh Govindarajan wrote: > 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

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

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

Re: [PHP] Internal PHP caching methodology

2009-07-20 Thread Eric Butera
On Sat, Jul 18, 2009 at 7:14 AM, Daniel Kolbo wrote: > Daniel Kolbo wrote: >> Eric Butera wrote: >>> On Thu, Jul 16, 2009 at 5:50 PM, Daniel Kolbo wrote: >>>> Hello, >>>> >>>> Call me a dreamer...but I got to ask. >>>> >>>

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 Kolbo wrote: >>> Hello, >>> >>> Call me a dreamer...but I got to ask. >>> >>> Is there any software for helping speed up PHP by utilizing internal PHP >&g

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

Re: [PHP] Internal PHP caching methodology

2009-07-16 Thread Eric Butera
On Thu, Jul 16, 2009 at 5:50 PM, Daniel Kolbo 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 >

Re: [PHP] Internal PHP caching methodology

2009-07-16 Thread Phpster
On Jul 16, 2009, at 5:50 PM, Daniel Kolbo 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 the cont

[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

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

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,

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 th

[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

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 qu

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

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

Re: [PHP] Caching options - trunkcache?

2007-03-12 Thread Robert Cummings
On Mon, 2007-03-12 at 14:17 +0100, Merlin wrote: > 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) *CO

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 this

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 electrons

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 r

[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 1.x

[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'); session_cache_li

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 java

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

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 A

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 ve

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 because

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 entit

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

2005-10-05 Thread Daevid Vincent
which 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 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 DTD'

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 quest

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 Greg Donald
ve query caching, and so do most file 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 Donal

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

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,

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

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 q

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: > > "http:

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 '/' ch

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 file_ge

Re: [PHP] caching program

2003-09-12 Thread Andrea Tricco
the path www.php.net/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 t

Re: [PHP] caching program

2003-09-12 Thread Andrea Tricco
m: "Ryan Gibson" <[EMAIL 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 do

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 PROT

[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

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 na

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

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

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 th

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 O

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

Re: [PHP] PHP caching ideas?

2002-10-14 Thread Maxim Maletsky
levant data. > > 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 > >

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 dat

[PHP] PHP caching ideas?

2002-10-12 Thread Hans Himmel
r 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,

Re: [PHP] Caching Problem

2002-09-04 Thread Jed Verity
Oops. There was an extra period at the end there (after PHP_SELF). http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']"); } ?> On the threshold of genius, Jed Verity wrote: > Hi, Roland, > > There might be a better way to do this, but you could try to use the > header() function after your upl

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

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... http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."); } ?> Or something like that. HTH, Jed

[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: Rest of document. The form action returns to the same page (to allow you to upload another file). This works fine, but if you press the refresh btn, the fi

[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: b) the thumbnailing works perfectly. but is thi

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

[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

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 t

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

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

[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: does

RE: [PHP] caching and IE 5

2001-08-09 Thread Karl Phillipson
Line: 0207 693 8318 -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 works for me - try loading www.shanghaiguide.com/main/index.php3 - should do

RE: [PHP] caching and IE 5

2001-08-09 Thread Lawrence . Sheed
ECTED]' 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 that an include file is pulled in that has a form with a text input field that echos the date and time. Whenever

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 t

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

Re: [PHP] caching

2001-07-04 Thread Jon Yaggie
quot;Pragma: 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

Re: [PHP] caching

2001-07-03 Thread Jay Paulson
.. header ("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] cac

AW: [PHP] caching

2001-07-03 Thread Sebastian Stadtlich
you could attach a random number as a get parameter that image would hardly ever be cached... sebastian > -Ursprüngliche Nachricht- > Von: Jon Yaggie [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 31. Mai 2001 00:36 > An: [EMAIL PROTECTED] > Betreff: [PHP] caching

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

[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