<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Indy]IdHTTP -&amp;gt; Log In in Seite]]></title><description><![CDATA[<p>Hi!</p>
<p>Habe schon das hier gefunden:</p>
<pre><code class="language-cpp">TStringList * ParaIn    = new TStringList(); 
        TMemoryStream * ParaOut = new TMemoryStream(); 

        ParaIn-&gt;Add(&quot;action=1&amp;login=UserName&amp;pass=secret&quot;); 

        IdHTTP1-&gt;Request-&gt;ContentType = &quot;application/x-www-form-urlencoded&quot;; 
        IdHTTP1-&gt;Post(&quot;http://test.de/login.php&quot;, ParaIn, ParaOut); 

        Memo1-&gt;Lines-&gt;LoadFromStream(ParaOut);
</code></pre>
<p>Verstehe das aber nicht ganz...</p>
<p>Ich möchte mich mit meinen Benutzerdaten in eine Seite einloggen.<br />
Könnt ihr mir helfen?</p>
<p>thx</p>
<p>Edit: hab noch was gefunden, was vielleicht wichtig ist, hier die input Felder:</p>
<p>type=&quot;text&quot; name=&quot;login&quot; class=&quot;i1&quot;<br />
type=&quot;password&quot; name=&quot;passwort&quot; class=&quot;i1&quot;<br />
type=&quot;submit&quot; class=&quot;i1&quot; value=&quot;Login&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/189499/indy-idhttp-gt-log-in-in-seite</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 06:39:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/189499.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Aug 2007 17:29:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Indy]IdHTTP -&amp;gt; Log In in Seite on Mon, 13 Aug 2007 18:37:51 GMT]]></title><description><![CDATA[<p>Hi!</p>
<p>Habe schon das hier gefunden:</p>
<pre><code class="language-cpp">TStringList * ParaIn    = new TStringList(); 
        TMemoryStream * ParaOut = new TMemoryStream(); 

        ParaIn-&gt;Add(&quot;action=1&amp;login=UserName&amp;pass=secret&quot;); 

        IdHTTP1-&gt;Request-&gt;ContentType = &quot;application/x-www-form-urlencoded&quot;; 
        IdHTTP1-&gt;Post(&quot;http://test.de/login.php&quot;, ParaIn, ParaOut); 

        Memo1-&gt;Lines-&gt;LoadFromStream(ParaOut);
</code></pre>
<p>Verstehe das aber nicht ganz...</p>
<p>Ich möchte mich mit meinen Benutzerdaten in eine Seite einloggen.<br />
Könnt ihr mir helfen?</p>
<p>thx</p>
<p>Edit: hab noch was gefunden, was vielleicht wichtig ist, hier die input Felder:</p>
<p>type=&quot;text&quot; name=&quot;login&quot; class=&quot;i1&quot;<br />
type=&quot;password&quot; name=&quot;passwort&quot; class=&quot;i1&quot;<br />
type=&quot;submit&quot; class=&quot;i1&quot; value=&quot;Login&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1343871</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1343871</guid><dc:creator><![CDATA[Dragonfire]]></dc:creator><pubDate>Mon, 13 Aug 2007 18:37:51 GMT</pubDate></item><item><title><![CDATA[Reply to [Indy]IdHTTP -&amp;gt; Log In in Seite on Mon, 13 Aug 2007 18:47:23 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ausgehend von den Quellcode must du eben in die Strings für &quot;UserName&quot; und für &quot;secret&quot; eben die Accountdaten eingeben die du willst. Und du must offenbar noch die Namen der Controls anpassen, das für &quot;l&quot; = &quot;Login&quot; und &quot;pass&quot; gleich &quot;passwort&quot; steht.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1343917</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1343917</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 13 Aug 2007 18:47:23 GMT</pubDate></item><item><title><![CDATA[Reply to [Indy]IdHTTP -&amp;gt; Log In in Seite on Mon, 13 Aug 2007 18:55:20 GMT]]></title><description><![CDATA[<p>Habs nun soweit modifiziert:</p>
<pre><code class="language-cpp">TStringList * ParaIn    = new TStringList();
        TMemoryStream * ParaOut = new TMemoryStream();

        /*type=&quot;text&quot; name=&quot;login&quot; class=&quot;i1&quot; size=15&gt;
         type=&quot;password&quot; name=&quot;passwort&quot; class=&quot;i1&quot; size=15&gt;
         type=&quot;submit&quot; class=&quot;i1&quot; value=&quot;Login&quot;&gt;   */

        ParaIn-&gt;Add(&quot;login=Ich&amp;passwort=abc123&amp;action=login&quot;);

        IdHTTP-&gt;Request-&gt;ContentType = &quot;application/x-www-form-urlencoded&quot;;
        IdHTTP-&gt;Post(&quot;http://miloth.kampf-um-mittelerde.de/login.php&quot;, ParaIn, ParaOut);

       Verbinde_E-&gt;Text = IdHTTP-&gt;ResponseText;
       AnsiString d = IdHTTP-&gt;Get(&quot;http://miloth.kampf-um-mittelerde.de/game.php?a=clist&quot;);
       Memo1-&gt;Text = d;
</code></pre>
<p>Allerdings bekomme ich den Fehler: <strong>EIdProtocolReplyError</strong> mit der Meldung <strong>302 Found</strong></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1343922</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1343922</guid><dc:creator><![CDATA[Dragonfire]]></dc:creator><pubDate>Mon, 13 Aug 2007 18:55:20 GMT</pubDate></item><item><title><![CDATA[Reply to [Indy]IdHTTP -&amp;gt; Log In in Seite on Mon, 13 Aug 2007 19:34:27 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Laut deiner &quot;Input-Feld Liste&quot; muß die action &quot;Login&quot; mit großen L geschrieben werden</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1343948</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1343948</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 13 Aug 2007 19:34:27 GMT</pubDate></item><item><title><![CDATA[Reply to [Indy]IdHTTP -&amp;gt; Log In in Seite on Mon, 13 Aug 2007 20:32:56 GMT]]></title><description><![CDATA[<p>hab jetzt statt</p>
<pre><code class="language-cpp">ParaIn-&gt;Add(&quot;login=Ich&amp;passwort=abc123&amp;action=login&quot;);
</code></pre>
<pre><code class="language-cpp">ParaIn-&gt;Add(&quot;login=Ich&quot;);
        ParaIn-&gt;Add(&quot;passwort=abc123&quot;);
        ParaIn-&gt;Add(&quot;action=Login&quot;);
</code></pre>
<p>jetzt kommt der Fehler hier:</p>
<pre><code class="language-cpp">AnsiString d = IdHTTP-&gt;Get(&quot;http://miloth.kampf-um-mittelerde.de/game.php?a=clist&quot;);
</code></pre>
<p>Edit: Liegt das vlt. daran dass die evl. mit Cookies arbeiten?<br />
Kann ich das auch irgendwie bewerkstelligen?</p>
<p>thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1343959</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1343959</guid><dc:creator><![CDATA[Dragonfire]]></dc:creator><pubDate>Mon, 13 Aug 2007 20:32:56 GMT</pubDate></item></channel></rss>