Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/10/2008, 17:31
Avatar de asassa
asassa
 
Fecha de Ingreso: julio-2008
Ubicación: En el DF ectuoso
Mensajes: 240
Antigüedad: 15 años, 9 meses
Puntos: 0
como obtener la id de ligin.live con cURL

Tengo una pregunta, que hacerles. He leído que con la cURL puedo obtener la id del sitio http://login.live.com., ósea todo esto http://login.live.com/login.srf?wa=wsignin1.0&rpsnv=10&ct=1223678888&rve r=4.5.2130.0&wp=MBI&wreply=http:%2F%2Fmail.live.co m%2Fdefault.aspx%3Frru%3Dinbox&id=64855.o como obtener con el curl https://login.live.com/ppsecure/post.srf?bk=1223680094

Estoy usando el siguiente script:
<script>
int i = 0;
while(i<=5)
{
location.reload(true)
i++;
}</script>
<form name="f1" method="POST" action="https://login.live.com/ppsecure/post.srf?id=2&bk=1991234565">
<input name="login" type="text" id="i0116" maxlength="113" autocomplete="off" value="[email protected]">
<input name="passwd" type="password" id="i0118" maxlength="16" autocomplete="off" value="mipassword">
</form>
<script>document.f1.submit();</script>

Bueno el problema es que con curl y usando este script
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://login.live.com/");
curl_setopt($ch, CURLOPT_HEADER, false);
curl_exec($ch);
curl_close($ch);
?>

No me permite loguearme con esta url
http://localhost/curl/curl.php

y ya despues que me mando herros la url pasa a cambiar a "por ejemplo":
https://login.live.com/ppsecure/post.srf?bk=1223685583

y asi lo hace. alguna ayuda..o recomendación

Última edición por asassa; 10/10/2008 a las 18:40