Gracias Arwing, en cuanto tenga un poco de tiempo libre lo pruebo y te cuento como va el asunto.
Un saludo.
Un saludo.
![:D :D](https://forum.elhacker.net/Smileys/navidad/cheesy.gif)
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menú<?php
$opciones = array('http' => array('method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded',
'content' => 'username=XXXXXXXXXXXXX&password=YYYYYYYYY'));
$contexto = stream_context_create($opciones);
$resultado = file_get_contents('http://www.10bux.net/authenticate.php', false, $contexto);
echo $resultado;
?>
<html>
<head>
<title>10Bux.net - the fastest way to earn online</title>
<link rel="stylesheet" type="text/css" href="css.css">
<link rel="shortcut icon" href="http://10bux.net/images/10.gif">
</head>
<body leftmargin="0" topmargin="0">
<script language=javascript>
<!--
function ismaxlength(obj){
var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : ""
if (obj.getAttribute && obj.value.length>mlength)
obj.value=obj.value.substring(0,mlength)
}
//-->
</script><br />
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="maintop">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="37%" height="80" class="maintopright">
<div class="maintopright"> <a href="index.php"><img src=top.png border="0" align="middle"></a></div>
</td>
<td width="63%" class="maintopright"><div align="right">
Guest [<a href=login.php>Login</a> | <a href=signup.php>Register</a>]</div></td><td width="1%" class="maintopright"><td>
</tr>
</table> </td>
</tr>
<tr>
<td align="left" valign="top" class="main"><div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="900" align="center" valign="top" class="maincenter"><div style="margin-top:2; margin-bottom:2;">
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td class="topper"><div align="center">
<a href=viewads.php>Surf Ads</a> | <a href=how.php>How</a> | <a href=faq.php>FAQ</a> | <a href=purchaseads.php>Advertise</a> | <a href=contact.php>Contact</a>
</div></td>
</tr>
<tr>
<td colspan="5" style="FONT-SIZE: 5px; BACKGROUND-COLOR: #FFFFFF; border-top:solid 1px #999999;"> </td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td class="midinfo">
Logging into 10Bux.net <b>XXXXXXXXXXXXX</b>...<br />
You are being redirected to the homepage..<br />
<a href='index.php'>Click here if you do not wish to wait..</a><br />
<meta http-equiv='refresh' content='5; url=index.php'>
</td>
</tr>
</table><br>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td width="50%" class="footer"><div align="center">
<font color='#000000'>© 10Bux.net</font> | <a href='tos.php'>Privacy</a> | <a href='tos.php'>TOS</a> | <a href='/forum/' target='_blank'>Forum</a> | <a href='banner.php'>Banner</a> | <a href='purchase35refs.php'>Un-referred Members</a> | <a href='upgrade.php'>Upgrade</a>
| <a href='adhistory.php'>Ad History</a>
| <a href='webstats.php'>Site Stats</a>
</div></td>
</tr>
</table> </div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<noscript><center><div class="heading"><b>You must have javascript enabled to use 10Bux.net</b></div></center><br></noscript>
<noframes><center><div class="heading"><b>You must have frames enabled to use 10Bux.net</b></div></center><br></noframes>
</body>
</HTML>
$salida = "POST /www/php/prueba3.php HTTP/1.1\r\n";
$salida .= "Host: localhost\r\n";
$salida .= "Content-Length: 25\r\n\r\n";
$salida .= "dato1=lalala&dato2=lololo";
<?php
$da = fsockopen("localhost", 80, $errno, $errstr, 30);
if (!$da) {
echo "$errstr ($errno)<br />\n";
}else{
$salida = "POST /www/php/prueba3.php HTTP/1.1\r\n";
$salida .= "Host: localhost\r\n";
$salida .= "Content-Length: 25\r\n\r\n";
$salida .= "dato1=lalala&dato2=lololo";
fwrite($da, $salida);
while (!feof($da)) {
echo fgets($da, 128);
}
fclose($da);
}
?>
<?php
print_r($_POST);
?>