Navigazione

    Privacy - Termini e condizioni
    © 2020 Search On Media Group S.r.l.
    • Registrati
    • Accedi
    • CATEGORIES
    • Discussioni
    • Non letti
    • Recenti
    • Hashtags
    • Popolare
    • Utenti
    • Stream
    • Interest
    • Categories
    1. Home
    2. mau17
    3. Post
    M

    mau17

    @mau17

    • Profilo
    • Chi segue 0
    • Da chi è seguito 0
    • Discussioni 1
    • Post 2
    • Migliore 0
    • Gruppi 0
    Iscrizione Ultimo Accesso
    0
    Reputazione
    2
    Post
    0
    Visite al profilo
    0
    Da chi è seguito
    0
    Chi segue
    User Newbie

    Post creati da mau17

    • Un saluto a tutti

      Come da titolo....Un saluto a tutti.
      Mau:ciauz:

      postato in Presentati alla Community
      M
      mau17
    • RE: Ho un problema alla mia chat e cerco qualcuno che mi aiuti a risolverlo

      Buona sera a tutti,
      Leggevo questo 3d e ho provato a scaricare la chat in questione.
      Risultato funziona tutto tranne che il file insert.php-
      L'errore è il seguente: Warning: Cannot modify header information - headers already sent by in linea 25-
      Ho tolto html come letto nel 3d aggiunto stringhe ma niente da fare. ecco il mio file
      [PHP]<?
      include("config.php");
      $nick=$_GET['nick'];
      $password=$_GET['password'];
      $messaggio=$_GET['messaggio'];
      $messaggio=stripslashes($messaggio);
      $messaggio=str_replace("\n"," ",$messaggio);
      $commento=$nick."|".$messaggio."\n";
      $url="chat.php"."?nick=".$nick."&password=".$password;
      $cercamsg = strstr($messaggio,"<");
      $cercamsg2 = strstr($messaggio,">");
      if (empty($messaggio))
      {
      Header("Location: $url");
      }
      elseif ($cercamsg & $cercamsg2)
      {
      Header("Location: $url");
      }
      else
      {
      $apri_file=fopen($file_mess,"a+");
      fputs($apri_file,$commento);
      fclose($apri_file);
      Header("Location:$url");
      }
      ?>
      </body>
      </html>[/PHP]

      Mi date una mano per cortesia

      postato in Coding
      M
      mau17