title: I created the registration form localhost ta but it does not work on the real site
body: <p>I created a registration form on localhost and this form works on localhost and is fast. Am using php 5.6 on localhost and my site.  but my site is running very slowly (.html pages are running pretty fast) and does not send the registration form information. I google it and found nothin.
  Sorry for the mistakes I might have made.</p>
  
  <pre><code>&lt;?PHP
  require ('config/config.inc.php');
  
  if(isset($_POST['register'])) { 
  
      if(empty($_POST['benutzername']) &amp;&amp; empty($_POST['passwort']) &amp;&amp; empty($_POST['email']) &amp;&amp; empty($_POST['lieblingsfarbe'])) {
          echo '&lt;p&gt;Tüm Alanların Doldurulması Zorunludur!&lt;/p&gt;';
      }
      elseif(preg_match('/^a-zA-Z0-9@-._ÖöÄäÜü/', $_POST['benutzername']) &amp;&amp; preg_match('/^a-zA-Z0-9@-._ÖöÄäÜü/', $_POST['passwort']) &amp;&amp;
              preg_match('/^a-zA-Z0-9@-._ÖöÄäÜü/', $_POST['email']) &amp;&amp; preg_match('/^a-zA-Z0-9@-._ÖöÄäÜü/', $_POST['lieblingsfarbe'])) {
          echo '&lt;p&gt;Es ist nur: a-Z,0-9,@,.,_,- erlaubt!&lt;/p&gt;';
      }
      else {
          $benutzername = mysqli_real_escape_string($con, $_POST['benutzername']);
          $passwort = mysqli_real_escape_string($con, $_POST['passwort']);
          $email = mysqli_real_escape_string($con, $_POST['email']);
          $antwort = mysqli_real_escape_string($con, $_POST['lieblingsfarbe']);
      }
  
      $sql = "INSERT INTO account.account
              (login, password, social_id, email, create_time, question1, answer1, status, safebox_expire, autoloot_expire, coins)
              VALUES
              ('" . $benutzername . "', PASSWORD('" . $passwort . "'), '" . $loeschcode . "', '" . $email . "', '" . $zeit . "', '" . $frage . "',
              '" . $antwort . "', '" . $status . "', '" . $date . "', '" . $date . "', '" . $registercoins . "')";
      $qry = mysqli_query($con, $sql);
  
      if($qry) {
          echo '&lt;p id="nachricht" style="color:green;"&gt;ßaşarıyla Hesap Oluşturdunuz!&lt;/p&gt;';
      }
      else {
          echo '&lt;p id="nachricht" style="color:red;"&gt;Kayıt Başarısız!&lt;/p&gt;';
  
      }
  }
      &lt;head&gt;
          &lt;title&gt;&lt;?PHP echo $servername ?&gt;&lt;/title&gt;
          &lt;meta http-equiv="content-type" content="text/html; charset=utf-8"&gt;
          &lt;link rel="stylesheet" href="layout/design.css" type="text/css" /&gt;
      &lt;/head&gt;
  &lt;body&gt;
  
      &lt;div id="logo"&gt;&lt;/div&gt;
          &lt;div id="box"&gt;
          &lt;form action="index.php" method="post" id="login"&gt;
              &lt;center&gt;
                  &lt;p&gt;Kulanıcı Adı&lt;/p&gt;
                  &lt;input type="text" name="benutzername" maxlength="16" /&gt;
  
                  &lt;p&gt;Şifre&lt;/p&gt;
                  &lt;input type="password" name="passwort" maxlength="16" /&gt;
  
                  &lt;p&gt;E-Posta&lt;/p&gt;
                  &lt;input type="text" name="email" maxlength="20" /&gt;
  
                  &lt;p&gt;En Sevdiğiniz Renk ?&lt;/p&gt;
                  &lt;input type="text" name="lieblingsfarbe" maxlength="8" /&gt;
  
                  &lt;input type="submit" name="register" value="" /&gt;
              &lt;/center&gt;
          &lt;/form&gt;
      &lt;/div&gt;
      &lt;div id="footer"&gt;
          &lt;p&gt;© Copyright by &lt;?PHP echo $servername ?&gt;. All rights reserved.&lt;/p&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>