Einzelnen Beitrag anzeigen

gandime
(Gast)

n/a Beiträge
 
#1

idhttp IOHandler value is not valid?

  Alt 6. Sep 2007, 00:03
Hi,
ich versuche gerade ein Yahoo-Login zu machen aber es funzt nicht so richtig warum?

login Quellcode:
Zitat:
<form method="post" action="https://login.yahoo.com/config/login?" autocomplete="off" name="login_form">
<input type="hidden" name=".tries" value="1">
<input type="hidden" name=".src" value="">
<input type="hidden" name=".md5" value="">
<input type="hidden" name=".hash" value="">
<input type="hidden" name=".js" value="">
<input type="hidden" name=".last" value="">
<input type="hidden" name="promo" value="">
<input type="hidden" name=".intl" value="us">

<input type="hidden" name=".bypass" value="">
<input type="hidden" name=".partner" value="">
<input type="hidden" name=".u" value="2q6u14l3du9ab">
<input type="hidden" name=".v" value="0">
<input type="hidden" name=".challenge" value="HlioywfuuVyMYQ8_79MM7H75H90j">
<input type="hidden" name=".yplus" value="">
<input type="hidden" name=".emailCode" value="">
<input type="hidden" name="pkg" value="">
<input type="hidden" name="stepid" value="">

<input type="hidden" name=".ev" value="">
<input type="hidden" name="hasMsgr" value="0">
<input type="hidden" name=".chkP" value="Y">
<input type="hidden" name=".done" value="http://my.yahoo.com">
<input type="hidden" name=".pd" value="_ver%3d0%26c=">
<table id="yreglgtb" summary="form: login information">
<tr>
<th><label for="username">Yahoo! ID:</label></th>

<td><input name="login" id="username" value="" size="17" class="yreg_ipt" type="text"></td>
<script language="JavaScript" type="text/javascript">if(document.getElementById) document.getElementById('username').focus();</script>
</tr>
<tr>
<th><label for="passwd">Password:</label></th>
<td><input name="passwd" id="passwd" value="" size="17" class="yreg_ipt" type="password"></td>
</tr>

</table>

<p id="sigcopys"><input type="checkbox" id="persistent" name=".persistent" value="y"
mein Code:
Delphi-Quellcode:
var
  ts_temp:tstringlist;
  s_temp:string;
  tsl_temp:tstringlist;
begin
  ts_temp:=tstringlist.Create;
  ts_temp.Values['.tries']:='1';
  ts_temp.Values['.src']:='';
  ts_temp.Values['.md5']:='';
  ts_temp.Values['.hash']:='';
  ts_temp.Values['.js']:='';
  ts_temp.Values['.last']:='';
  ts_temp.Values['promo']:='';
  ts_temp.Values['.intl']:='us';
  ts_temp.Values['.bypass']:='';
  ts_temp.Values['.partner']:='';
  ts_temp.Values['.u']:='2q6u14l3du9ab';
  ts_temp.Values['.v']:='0';
  ts_temp.Values['.challenge']:='HlioywfuuVyMYQ8_79MM7H75H90j';
  ts_temp.Values['.yplus']:='';
  ts_temp.Values['.emailCode']:='';
  ts_temp.Values['pkg']:='';
  ts_temp.Values['stepid']:='';
  ts_temp.Values['.ev']:='';
  ts_temp.Values['hasMsgr']:='0';
  ts_temp.Values['.chkP']:='Y';
  ts_temp.Values['.done']:='http://my.yahoo.com';
  ts_temp.Values['.pd']:='_ver%3d0%26c=';
  ts_temp.Values['username']:='user';
  ts_temp.Values['passwd']:='pw';
  ts_temp.Values['persistent']:='y';

  s_temp:=idhttp1.Post('https://login.yahoo.com/config/login?',ts_temp);

ich bekomme folgende Fehlermeldung:
Zitat:
Erste Gelegenheit für Exception bei $7C812A5B. Exception-Klasse EIdIOHandlerPropInvalid mit Meldung 'IOHandler value is not valid'. Prozess Project1.exe (3208)
warum?

mfg
gandime
  Mit Zitat antworten Zitat