Prueba así:
Código PHP:
Ver original<form METHOD="GET" ACTION="intfrintranet_new.php" name="flogin">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center">Usuario</td>
<td align="center" valign="top">Contrasena</td>
<td></td>
</tr>
<tr>
<td align="center"><input type="text" name="codf" size="6"> </td>
<td align="center"><input type="password" name="pw" size="6"> </td>
<td valign="top"><input type="submit" value="Entrar" name="login"></td>
</tr>
</table>
</form>
intfrintranet_new.php:
Código PHP:
Ver original<?php
$codf = $_GET["codf"];
$pw = $_GET["pw"];
?>
<html><head></head>
<frameset framespacing="0" border="false" frameborder="0" rows="2,*">
<frame name="encabezado" scrolling="no" noresize target="principal" src="cabecerax.htm">
<frame name="principal" src="<?php echo $_SERVER['PHP_SELF']. "?buscar=ok&codf=".$codf."&pw=".$pw; ?>" scrolling="auto">
<noframes>
<body>
<p>Esta página usa marcos, pero su explorador no los admite.</p>
</body>
</noframes>
</frameset>
</html>