Re: Cache Question
| From: | Ivo Fokkema | Date: | Wed, 13 Aug 2003 07:11:32 +0000 |
| Subject: | Re: Cache Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159403@lists.php.net to get a copy of this message | ||
Hi Tony,
Chris explained a lot about this... I'm not an expert on this, but you might
want to give a try to embed something like :
"<embed src='mp3.php?mp3=filename' autostart=true>";
And then let mp3.php send all of the no-cache headers together with the
contents of the filename.mp3.
It might work, I would give it a try...
HTH,
--
Ivo
"Tony Tzankoff" <ttzankoff@medscripts.com> wrote in message
news:20030812152237.78650.qmail@pb1.pair.com...
> I have a webpage written in the latest version of PHP and need a little
bit
> of help with a rather pesky cache issue. Part of the source code is as
> follows:
>
> page.php
> <?
> echo "<meta http-equiv=pragma content=no-cache>";
> echo "<meta http-equiv=expires content='-1'>";
> .
> .
> .
> echo "<embed src=filename.mp3 autostart=true>";
> ?>
>
> The page does not cache (which is good), but the MP3 file does (which is
> bad). Is there a way to NOT cache the MP3 file? I would like to keep the
> file embedded within the page, if possible. Thanks!
>
>