Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/12/2010, 22:47
alanfcarta
 
Fecha de Ingreso: noviembre-2010
Mensajes: 33
Antigüedad: 13 años, 5 meses
Puntos: 1
Exclamación Parámetros entre paginas

HOLA, ANTE TODO BUENOS DÍAS, TARDES, NOCHES.
ESTOY TRATANDO DE PASAR COMO PARÁMETRO SIMPLEMENTE UN ENTERO, LOGRO ENVIARLO... PERO EN LA OTRA PAGINA NO SE COMO OBTENERLO... ESTOY UTILIZANDO PHP5... SI ESO SIRVE DE ALGO.
ACA LES DEJO EL CODIGO DE LA PAG....


<html>
<body>
<TABLE BORDER=1 align="center">
<thead>
<tr>
<th align="center">Numero</th>
<th align="center">Titulo</th>
<th align="center">Categoria</th>
<th align="center">Reproducir</th>
</tr>
</thead>

<TR><TD><?php
$xml = file_get_contents("videosw.xml");

preg_match_all('/<title>(.*)<\/title>/', $xml, $resultado);
preg_match_all('/<refer>(.*)<\/refer>/', $xml, $refer);
preg_match_all('/<category>(.*)<\/category>/', $xml, $categoria);

p
$i=0;

while($i<=186){
echo("<TR><TD>");
PRINT($i);
echo("</TD>");
echo("<TD>");

PRINT($resultado[1][$i]);
echo("</TD>");
echo("<TD>");
PRINT($categoria[1][$i]);
echo("<TD>");
echo("<A HREF='Reproductor.html?$i' target='_blank'>ver</A>");

echo("</TD>");
echo("</TR></TD>");

$i=$i+1;

}




?></TR></TD>
</TABLE>
</body>
</HTML>




EN LA OTRA PAGINA TENGO ESTO:

<!DOCTYPE html>
<html lang="es">
<head>
<title>Reproductor</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="estilo.css">
</head>
<body>
<h1>Demo</h1>
<embed type="application/x-vlc-plugin" id="video1"
autoplay="yes" loop="yes" width="400" height="300"
target="" />
<br>
<!-- nota: se prefiere la utilización de eventos con jQuery antes de el atributo onclick -->
<a href="javascript:;" onclick='document.video1.play()'>Play video1</a>
<a href="javascript:;" onclick='document.video1.pause()'>Pause video1</a>
<a href="javascript:;" onclick='document.video1.stop()'>Stop video1</a>
<a href="javascript:;" onclick='document.video1.fullscreen()'>Fullscreen</a>
</body>
</html>



DESDE YA AGRADEZCO SU AYUDA