Código PHP:
<?
/*******************************************************************************************************************
Sitio Web del Departamento de Marxismo
Universidad de las Ciencias Informáticas
Programación y Diseño: Reynier Pérez Mira ([email protected])
Bases de Datos: Leonel Salazar Videaux ([email protected])
Animación: Karel Pérez Ramírez ([email protected])
*******************************************************************************************************************/
ob_start();
require("functions.php");
include_once("includes/class.jabber.php");
nocache();
?>
<html>
<head>
<title>JabberChat</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<script language="JavaScript" src="includes/mx.js"></script>
<link href="includes/mx.css" rel="stylesheet" type="text/css">
<body bgcolor="#a2aace" topmargin="3">
<table width="150" border="0" cellspacing="0" cellpadding="0">
<?php
if(!isset($action)){
echo "<tr>
<td><table width='100' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='img/jabber.gif' alt='Jabber Web®' width='130' height='100'></td>
</tr>
<tr>
<td class='txt'><form action='jabber.php?action=signin?user=".$HTTP_POST_VARS['login']."?password=".md5($HTTP_POST_VARS['passwd'])."?server=".$HTTP_POST_VARS['server']."' method='post' name='jabber' id='jabber'>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><input name='login' type='text' class='txt' id='login' size='27' maxlength='25'></td>
</tr>
<tr>
<td><input name='passwd' type='password' class='txt' id='passwd' size='27' maxlength='300'></td>
</tr>
<tr>
<td><div align='center'>
<select name='server' size='1' class='txtcn' id='server'>
<option value='0' selected>-Seleccionar-</option>
<option value='jabber.uci.cu'>jabber.uci.cu</option>
</select>
</div></td>
</tr>
<tr>
<td><div align='center'>
<input name='enter' type='submit' class='txtcn' id='enter' value='Entrar'>
</div></td>
</tr>";
}
?>
</table>
</form></td>
</tr>
<tr>
<td class="txtrg">Realizado por: Portal MX </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<?
ob_end_flush();
?>
Cita:
y no se me ocurre como hacer para que me muestre el user y el server. Me dan una http://10.7.3.3:3128/marxismo/jabber.php?action=signin?user=?password=d41d8cd98f 00b204e9800998ecf8427e?server=
![de acuerdo](http://static.forosdelweb.com/fdwtheme/images/smilies/dedosarriba.png)
Salu2
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)