Thema: Delphi idHTTP status abfangen?

Einzelnen Beitrag anzeigen

Benutzerbild von Pseudemys Nelsoni
Pseudemys Nelsoni

Registriert seit: 24. Dez 2002
Ort: Hamburg-Harburg
3.551 Beiträge
 
#7

Re: idHTTP status abfangen?

  Alt 19. Okt 2003, 13:42
jo, habe es so versucht:

Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
var
  ts: TStringList;
begin
  ts := TStringList.Create;
  ts.Add('name=shiism');
  ts.Add('nick=ssismk53');
  ts.Add('pass=025180258');
  ts.Add('cpass=021580258');
  ts.Add('email=ssiism53k@jo.de');
  ts.Add('cemail=ssiism53k@jo.de');
  idhttp1.Post('http://www.cncreloade.net/index.php?action=signup', ts);
  ts.Free;
  memo1.Text := idhttp1.Get(idhttp1.URL.Path);
end;

das ergebnis im Memo ist:

Code:
<html>

<head>

   <title>CNC Reloaded :: Register Account</title>

</head>

<body bgcolor="#FFFFFF" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">



<font face="Verdana" size="10px" color="#000000">

<center>

<h1>CNC:R :: Account Registration</h1>

<h2>STATUS: SERVER FULLY OPERATIONAL</h2>

</center>


<center>

<form method="POST" action="index.php?action=signup">

   <table border="1" cellspacing="0" cellpading="0" style="border-style:collapse;">

      <th>Required information</th><tr>

      <td>

         <table border="0" cellspacing="0" cellpadding="0">

            <td>Your name:</td>

            <td><input type="text" size="30" name="name"></td>

            <tr>

            <td>Nickname:</td>

            <td><input type="text" size="15" maxlength="9" name="nick"></td>

            <tr>

            <td>Password:</td>

            <td><input type="password" size="15" maxlength="8" name="pass"></td>

            <tr>

            <td>Confirm password:</td>

            <td><input type="password" size="15" maxlength="8" name="cpass"></td>

            <tr>

            <td>Your e-mail address:</td>

            <td><input type="text" size="35" name="email">

            <tr>

            <td>Confirm e-mail address:</td>

            <td><input type="text" size="35" name="cemail"><tr>

            <td>
<input type="submit" value="Register"><input type="reset" value="Clear"></td>

            <tr>

         </table>

      </td>

   </table>

</form>



<font size=2>Please read our [url="privacy.htm"]Privacy Policy[/url]</font></p>



[b]<font size=3>[url="w_hos_changer.exe"]Download[/url] the file to connect
      to CNCR instead of the real Tiberian Sun servers.</font>[/b]




[b]<font size=3>Or try [url="wu_host.exe"]this[/url] if the above program does not work for you.</font>[/b]
</p>

<font size=2>

If the above programs do no work for you, follow these instructions:


[*] Windows 95/98/ME:

Create a file called "host" in your WINDOWS directory and add the line:




<font color="#FF0000">69.0.197.152 noxcha.westwood.com</font>
[*] Windows 2k/NT/XP:

Create a file called "host" in your WINDOWS\system32\driver\etc directory and add the line:




<font color="#FF0000">69.0.197.15 noxcha.westwood.com</font>





Then try connecting to TS USA. It should bring you to CNCR. Good luck!







If you wish to return to the old Tiberian Sun servers, either click the "Remove" button




or remove the line from your hosts file.









<a href="http://www.cncreloade.net/clan.php">Clan Creation Page


</a>




[url="http://www.cncreloade.net/forum/"]Discussion Forums, Why, How and When.[/url]











<font size=3>If you never receive the autorization email, please email [email]adm@kilermurfs.net[/email] with the email address you used to register your nickname. Be sure to include the nickname you registered within the email.</font></p>

</p>        

</center>        

</p>

</font>

</body>

</html>
und das ist die cncrloaded startseite, also nicht die seite die nach dem schicken aufgerufen wird
Mario
MSN: cyanide@ccode.de
  Mit Zitat antworten Zitat