Konuyu Oyla:
  • Derecelendirme: 0/5 - 0 oy
  • 1
  • 2
  • 3
  • 4
  • 5
Delphi siteye yorum
#10
function DoLogin(const username,email,url,comment: string): string;
var
IdHTTP: TIdHTTP;
Request: TStringList;
begin
try
  Request := TStringList.Create;
  try
    Request.Add('action=do_login');
    Request.Add('url=https://www.oyunkabini.com/battlefield-v-ilk-fragmanini-yayinladi-ve-daha-fazlasi-dlc-premium-passes/');
    Request.Add('submit=727');
    Request.Add('author'+username);
    Request.Add('email='+email);
    Request.Add('url='+url);
    Request.Add('comment='+comment);
    Request.Add('submit');
    IdHTTP := TIdHTTP.Create;
    try
      IdHTTP.AllowCookies := True;
      IdHTTP.HandleRedirects := True;
      IdHTTP.Request.ContentType := 'application/x-www-form-urlencoded';
      IdHTTP.Post('https://www.oyunkabini.com/wp-comments-post.php', Request);
      Result := IdHTTP.Get('http://www.oyunkabini.com');
      if StrUtils.ContainsStr(Result, 'submit') then //Login başarısız demektir
        Result := '';
    finally
      IdHTTP.Free;
    end;
  finally
    Request.Free;
  end;
except
  Result := '';
end;
end;

Kodlarında yanlışlarım nelerdir ?
WWW
Cevapla


Bu Konudaki Yorumlar
Delphi siteye yorum - Yazar: quiet1day - 28-05-2018, Saat: 17:56
Cvp: Delphi siteye yorum - Yazar: Halil Han BADEM - 28-05-2018, Saat: 23:57
Delphi siteye yorum - Yazar: Bay_Y - 29-05-2018, Saat: 09:53
Delphi siteye yorum - Yazar: mrmarman - 29-05-2018, Saat: 14:45
Delphi siteye yorum - Yazar: quiet1day - 29-05-2018, Saat: 22:17
Delphi siteye yorum - Yazar: mrmarman - 29-05-2018, Saat: 22:29
Delphi siteye yorum - Yazar: ozcanm - 30-05-2018, Saat: 12:12
Delphi siteye yorum - Yazar: mrmarman - 30-05-2018, Saat: 17:51
Delphi siteye yorum - Yazar: ozcanm - 30-05-2018, Saat: 19:23
Cvp: Delphi siteye yorum - Yazar: quiet1day - 30-05-2018, Saat: 22:04
Cvp: Delphi siteye yorum - Yazar: Fesih ARSLAN - 30-05-2018, Saat: 22:42
Cvp: Delphi siteye yorum - Yazar: Halil Han BADEM - 30-05-2018, Saat: 22:45
Cvp: Delphi siteye yorum - Yazar: quiet1day - 31-05-2018, Saat: 00:00
Cvp: Delphi siteye yorum - Yazar: Halil Han BADEM - 31-05-2018, Saat: 00:01
Delphi siteye yorum - Yazar: quiet1day - 31-05-2018, Saat: 00:08
Delphi siteye yorum - Yazar: Halil Han BADEM - 31-05-2018, Saat: 00:14
Delphi siteye yorum - Yazar: ozcanm - 31-05-2018, Saat: 09:14
Delphi siteye yorum - Yazar: SimaWB - 31-05-2018, Saat: 10:40
Delphi siteye yorum - Yazar: quiet1day - 31-05-2018, Saat: 16:20

Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
  yapay zeka delphi kl007 9 621 26-02-2026, Saat: 09:12
Son Yorum: mrmarman
  Win 11 ve Delphi 7 Minimize sorunu. enigma 7 495 11-02-2026, Saat: 10:27
Son Yorum: RAD Coder
Question Delphi formunu nasıl otomatik tam ekran yapabilirim ? erdemklt0 2 320 23-01-2026, Saat: 10:02
Son Yorum: csunguray
  Delphi SLL kullanım sorunu Bay_Y 12 1.317 22-12-2025, Saat: 18:11
Son Yorum: Bay_Y
  Delphi ile SQL server bağlantı hatası yakalama Under 20 1.970 21-11-2025, Saat: 15:24
Son Yorum: mrmarman



Konuyu Okuyanlar: 1 Ziyaretçi