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. angelo 1
    3. Discussioni
    A

    angelo 1

    @angelo 1

    • Profilo
    • Chi segue 0
    • Da chi è seguito 0
    • Discussioni 2
    • Post 8
    • Migliore 0
    • Gruppi 0
    Iscrizione Ultimo Accesso
    Località Regno degli utenti inattivi Età 26
    0
    Reputazione
    8
    Post
    0
    Visite al profilo
    0
    Da chi è seguito
    0
    Chi segue
    User Newbie

    badges

    0
    Bookmarks
    0
    Voti
    0
    Ringraziamenti
    0
    Miglior risposte
    Inizia una nuova discussione
    di cosa vuoi parlare?

    Discussioni create da angelo 1

    • Topic
      Post
      View
      Votazioni
      Post
      Attività
    • A

      Istruzioni via mail
      Coding • • angelo 1  

      12
      784
      Visualizzazioni
      0
      Votazioni
      12
      Post

      A

      Non riuscendo a combinare nulla di buono, ho provato a cercare qualche altro script
      [PHP]<?$username = "email";$password = "password";$popserver = "ssl://indirizzoserverpop"; function auth_pop3_ssl($username, $password, $popserver) {
      $isSSL = 0;
      if(substr($popserver, 0, 6) == "ssl://") { $isSSL = 1; }
      if(trim($username)=='') { return false; }
      else { if($isSSL) { $fp = fsockopen("$popserver", 995, $errno, $errstr); }
      else { $fp = fsockopen("$popserver", 110, $errno, $errstr); }
      if(!$fp) { // failed to open POP3 return false; } else { set_socket_blocking($fp,-1); // Turn off blocking /* Clear the POP server's Banner Text. eg.. '+OK Welcome to etc etc' */ $trash = fgets($fp,128); // Trash to hold the banner fwrite($fp,"USER $username\r\n"); // POP3 USER CMD $user = fgets($fp,128); $user = ereg_replace("\n","",$user); if ( ereg ("^+OK(.+)", $user ) ) { fwrite($fp,"PASS $password\r\n"); // POP3 PASS CMD $pass = fgets($fp,128); $pass = ereg_replace("\n","",$pass); if ( ereg ("^+OK(.+)", $pass ) ) { // User has successfully authenticated $auth = true; } else { // bad password $auth = false; } } else { // bad username $auth = false; } fwrite($fp,"QUIT\r\n"); fclose($fp); return $auth; } } }?>[/PHP]
      Ma non mi dà nessun output

    • A

      Query sql all'unload
      Coding • • angelo 1  

      2
      450
      Visualizzazioni
      0
      Votazioni
      2
      Post

      capn3m0

      Con jquery puoi legare all'evento unload una request post/get ajax che interroga la pagina che esegue la query