Ver Mensaje Individual
  #5 (permalink)  
Antiguo 23/05/2011, 16:49
elcapitolio
 
Fecha de Ingreso: mayo-2011
Mensajes: 167
Antigüedad: 13 años
Puntos: 1
Respuesta: Viariables URL con frames

ya lo intente definiendo con isset la variable pero no me sirvio..

Les paso mi codigo...

mi link directo de entrada es:
[URL="http://elcapitolio.com.mx/temporal.php?lugar=1ocotlan"]http://elcapitolio.com.mx/temporal.php?lugar=1ocotlan[/URL]

temporal.php:
Código PHP:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>elcapitolio.com.mx® Una forma de expresión</title>
</head>
<frameset rows="32,*" framespacing="0" frameborder="yes" border="1" bordercolor="#FFFFFF">
  <frame src="top.php?lugar=<?php echo $_GET['lugar']; ?>" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
  <frame src="2011.php?lugar=<?php echo $_GET['lugar']; ?>" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>
<noframes><body>
</body></noframes>
</html>

top.php:
Código PHP:
<body>
<a href="http://www.elcapitolio.com.mx/index2.php?lugar=<?php echo $_GET['lugar']; ?>" target="mainFrame">principal</a> <a href="http://www.elcapitolio.com.mx/eventos/index.php?lugar=<?php echo $_GET['lugar']; ?>" target="mainFrame">eventos</a>
</body>

2011.php:
Código PHP:
tu estas viendo <?php echo $_GET['lugar']; ?>