I take #2, thanks a lot Scott! :) -----Original Message----- From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On Behalf Of Scott Fredrickson Sent: Tuesday, November 04, 2008 11:41 AM To: php-objects@xxxxxxxxxxxxxxx Subject: Re: Clear caché PHP function You cannot clear the browser cache from PHP. You have two alternatives. 1. Use HTTP Headers to expire the content immediately, as well as send updated timestamp with each generation of the content. Example: Pragma:no-cache Cache-Control:no-store, no-cache, must-revalidate Expires: Sun, 01 Jan 2006 00:00:01 GMT Date: (((( current date in above format))))) 2. Add an identifier to the URL, something as simple as a random number or the time can work. Example: http://www.example.com/myfile.pdf?time=20081104113700 Cheers On Tue, Nov 4, 2008 at 11:03 AM, Jean Carlo <jsalas@xxxxxxxxxxxxxxxxxx>wrote: > Hi developers, > > Does anyone know how clear the cache form a page using php? > > I have a pdf class and is changing the data inside all the time, but I have > to "delete temp files" in IE or "clear caché" In firefox, to see the > changes, if you guys just put me in the right direction? > > Thanks all I really appreciated your help! > > Regards, Jean. > > [Non-text portions of this message have been removed] > > > -- http://www.skotfred.com/ [Non-text portions of this message have been removed] ------------------------------------ Are you looking for a PHP job? Join the PHP Professionals directory Now! http://www.phpclasses.org/professionals/Yahoo! Groups Links No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.8.6/1766 - Release Date: 11/4/2008 8:26 AM