Código PHP:
<? session_start(); ?>
<html>
<head>
<title>::: Grupo Scout San Benito 18:::</title>
<meta http-equiv="" content="text/html; charset=iso-8859-1">
<meta http-equiv="" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset="><style type="text/css">
<!--
body {
background-color: #FFFFFF;
}
-->
</style></head>
<body style="font:bold 10px/15px verdana;color:navy">
<? $ft = $_SESSION['fot'];
if ($xx == "siguiente")
{
$_SESSION['fot'] = $ft + 6;
}
else if($xx == "anterior")
{
$_SESSION['fot'] = $ft - 6;
}
else
{
$_SESSION['fot'] = "1";
}
?>
<script>
var segundos=0
var direccion='fotos2.php'
milisegundos=segundos*1000
window.setTimeout("window.location.replace(direccion);",milisegundos);
</script>
</body>
</html>
Código PHP:
<? session_start(); ?>
<? $num = $_SESSION['fot']; ?>
<img border="0" height="95" width="127" src="imagenes/ignacio/Save<?=$num?>.jpg">
<img border="0" height="95" width="127" src="imagenes/ignacio/Save<?=$num+1?>.jpg">
<img border="0" height="95" width="127" src="imagenes/ignacio/Save<?=$num+2?>.jpg">
<img border="0" height="95" width="127" src="imagenes/ignacio/Save<?=$num+3?>.jpg">
<img border="0" height="95" width="127" src="imagenes/ignacio/Save<?=$num+4?>.jpg">
<img border="0" height="95" width="127" src="imagenes/ignacio/Save<?=$num+5?>.jpg">
Todo esto me funciona perfectamente en local, pero cuando lo subo al servidor donde estoy hospedando mi SITE pues no me sirve, solo carga las 6 primeras. ¿que pudiera estar pasando? ¿que atributos le tengo que decir al proveedor del hospedaje que debe cambiar en la configuracion del servidor para que el codigo me funcione bien?
Gracias por su pronto respuestas, BYE