Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/05/2009, 10:51
[email protected]
 
Fecha de Ingreso: octubre-2005
Mensajes: 405
Antigüedad: 19 años, 1 mes
Puntos: 1
Pasar valores PHP a Ventana popup.

Necesito pasar los valores de codpro y logname a ventana popup(formtexto.php).
Es posible esto segun codigo mencionado.

Código PHP:
<?
$codpro
=$_REQUEST['codpro'];    
$logname=$_REQUEST['logname']; 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">                                               
<html xmlns="http://www.w3.org/1999/xhtml">                                    
<head>                                                                          
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />           
<title>Documento sin t&iacute;tulo</title>                                      

<script type="text/JavaScript">                                       
function VentanaNueva(documento){                                     
    window.open(documento,'nuevaVentana','width=800, height=400');    
}                                                                     
</script>                                                             
</head>
<body>
<form name="formulario" method="post" action="">                                
<table width=100% border=0 cellspacing=0 cellpadding=2>                         
 <?                                                                             
 
if(!isset($texto))                                                             
 {                                                                              
   
?>                                                                           
   <tr class=Estilo3>                                                           
     <td colspan=2 align=center height=80>** Codigo no contiene texto ** </td>  
   </tr>                                                                        
   <tr>                                                                         
    <td colspan=2 align=center>                                                 
      <input type=button value="<? echo $botext?>" onclick="VentanaNueva('formtexto.php?accion=Guardar')">                                                                        
    </td>                                                                       
   </tr>                                                                        
   <?                                                                           
 
}
</
table>
<
form>
</
body>
</
html>
De antemano se agradece sus respuestas.