Jump to content

Search the Community

Showing results for tags 'php post'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • TnC Genel
    • Reklam-Bağış-Sponsorluk
    • Duyurular
  • Modifiye Edilmiş İşletim Sistemleri
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows Diğer
    • Windows Xp
    • Diğer İşletim Sistemleri
    • MultiBoot Sistemler
    • Linux Distributions
  • Bilgisayar Dünyası Genel
    • Her Zaman Gerekliler
    • Yazılım
    • Donanım
    • Sosyal Medya - Anında Mesajlaşma
    • Yararlı Linkler
  • TnC PROGRAM-APPZ
    • TNC-TR Çalışmaları
    • Program-Appz
    • Program-Appz - Ebook İstek
    • AIO
    • Portable Programlar
    • Türkçe Yamalar
    • Katılımsız - Unattended
  • Programlama
    • AutoIT
    • AutoPlay Media Studio
    • C#
  • Webmaster
    • Webmaster Sorunları & Çözüm Yolları
    • Hosting & Domain
  • TnC Multimedya
    • Multimedya Istek
    • Kendi Müziğiniz
  • TnC Oyun - Games
    • Oyun-Games
    • Oyun İstek
  • Cep Telefonu - Mobile
    • GSM Bilgi Paylaşımı
    • GSM Multimedya
    • iPhone / iPod
    • Android
    • Diğer GSM Program & Oyun
  • TnC Diğer
    • Teknoloji Haberleri
    • Alım-Satım
    • Kültür-Sanat
    • Sohbet-Chat
    • Çöp Kutusu
    • Anketler
  • Haberler Deneme
  • Olta Balıkçıları Kulübü's Herkes Ekipmanını Paylaşsın
  • Haritacılar's Konular
  • PUBG Oyuncuları's Konular
  • Satranç - Chess's Konular

Calendars

  • Community Calendar
  • Satranç - Chess's Takvim Etkinlikleri

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Facebook


Skype


Twitter


Google+


Steam



Found 1 result

  1. Arkadaşlar php post yapan kişinin 2 den fazla post yapmasını nasıl engelleyebilirim? index.php <form action="post.php" method="post"> What is your name:<br/> <input type="text" name="names" /><br/> <label>choose a surname:</label> <select name="surname"> <option value="surname1" >Surname 1</option> <option value="surname2" >Surname 2</option> </select> </p> <input type="submit" value="Post" /> </form> post.php <html> <head> <title>PHP POST Method</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <?php if(isset($_POST['names']) && isset($_POST['surname'])) { $names = strip_tags($_POST['names']); $surname = strip_tags($_POST['surname']); $ip = $_SERVER['REMOTE_ADDR']; $veriler = $names." - ".$surname." - ".$ip." - ".date("d.m.Y")."-".date("H:i:s")."\r\n"; $dosya_adi = "log.txt"; $logdosyam=file_get_contents("log.txt"); //if (!stristr($logdosyam, $ip)){ $dosya = fopen ($dosya_adi , 'a'); fwrite ($dosya , $veriler ); fclose ($dosya); if(empty($names) || empty($surname)) { echo 'Geçersiz karakter veya hiç bir veri girilmedi!'; } else { echo 'Ok<br>' . $names . ' <br> Kod: ' . $surname; } } else { echo 'Birşeyler yanlış gitti!'; } ?> </body> </html>
×
×
  • Create New...