Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/01/2009, 13:56
thezzin
 
Fecha de Ingreso: septiembre-2008
Mensajes: 350
Antigüedad: 15 años, 7 meses
Puntos: 31
Respuesta: Cómo evitar los temporales swf?

Hola
quizás con php puedas hacer que el Explorador Web vuelva a cargar el file de nuevo.
un ejemplo

Código php
Código PHP:
<?php
header
('Content-type: application/x-shockwave-flash');
header('Expires: Thu, 01 Jan 1970 00:00:00 GMT, -1');
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
echo 
file_get_contents('Fichero.swf');
?>
suponiendo que este file php se llama header_no_cache.php
entonces para llamar el file swf seria así

Código:
<object width="640" height="480" align="middle">
<param name="movie" value="header_no_cache.php" />
<param name="bgcolor" value="#000000" />
<embed src="header_no_cache.php" width="640" height="480" scale="noscale" bgcolor="#000000"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
puedes ver mas información en php
referente a: header no-cache
http://us3.php.net/manual/es/function.header.php


---