RE: [PHP] verify that email exist ?

From: Date: Wed, 31 Jan 2001 12:00:36 +0000
Subject: RE: [PHP] verify that email exist ?
Groups: php.general 
Request: Send a blank email to php-general+get-37459@lists.php.net to get a copy of this message
Hi! What do u fill exaclty ? only the local user and localhost ? do i have to chenge the srever_name,host,username and user ? if i fill it bu kaab_k as local user and hotmail.com as hotmail.com! should it work in ur environment ? thanks !
From: "Brian V Bonini" <brian@gfx.cncdsl.com> Reply-To: <brian@gfx.cncdsl.com> To: "kaab kaoutar" <kaab_k@hotmail.com> Subject: RE: [PHP] verify that email exist ? Date: Tue, 30 Jan 2001 14:16:13 -0500 Hmmm, I'm not sure. You can leave the localhost and localuser blank. Unfortunately, I know nothing about NT or PWS and what environment variables are available, the script does use quite a few. I use it on UNIX/Apache/PHP4. Here is how I'm using it if that helps at all. Sorry I don't have more info for you. <?php
         require("email_validation.php3");
         $validator=new email_validation_class;
         $validator->timeout=10;
         if(IsSet($email)
         && strcmp($email,""))
         {
          if(($result=$validator->ValidateEmailBox($email))<0){
           echo "It was not possible to determine if $email is a valid
deliverable e-mail box address.\n";
           echo "Please inform the system administrator\n";
          }
          else {
            if($result){
              mail("user@domain.com", "Subject", "$message", "From:
$email");
            }
            else
            echo "Sorry, you've submitted an invalid email address<BR>Please
<A HREF=\"javascript:history.back();\" CLASS=\"bld\">try again</A>\n";
          }
         }
         else {
          echo "There was a problem submitting your email address, perhaps
you\n";
          echo "left the email address field blank? Please <A
HREF=\"javascript:history.back();\" CLASS=\"bld\">try again</A> or inform the system administrator\n";
         }
        ?>
-----Original Message----- From: kaab kaoutar [mailto:kaab_k@hotmail.com] Sent: Tuesday, January 30, 2001 1:07 PM To: brian@gfx.cncdsl.com Cc: php-general@lists.php.net Subject: RE: [PHP] verify that email exist ? Hi! I have tried to use email_validation.php3 i've filled the localhost by hotmail.com and localuser by kaab_k and added the following code : $test=new email_validation_class; echo $test->ValidateEmailBox("kaab_k@hotmail.com"); but i have the following error: Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\wwwroot\php\email_validation.php on line 90 line 90 is : if (($connection=($this->timeout ? ..... can u please help ? by the way i'm using all these in a windows NT workstation with PWS! Thanks Thanks
From: "Brian V Bonini" <brian@gfx.cncdsl.com> Reply-To: <brian@gfx.cncdsl.com> To: <Website4S@aol.com>, <kaab_k@hotmail.com> Subject: RE: [PHP] verify that email exist ? Date: Tue, 30 Jan 2001 08:41:40 -0500 Attached are a couple things that will validate an email address and check other form elements about as thoroughly as possible.... -Brian ********
-----Original Message----- From: Website4S@aol.com [mailto:Website4S@aol.com] Sent: Tuesday, January 30, 2001 6:04 AM To: kaab_k@hotmail.com; php-general@lists.php.net Subject: Re: [PHP] verify that email exist ? Hi, I don`t think it is possible to check that an email actually exists but what you could do is make them confirm there email by sending them a code, if they enter the right code on the next page then they have recieved the email and it obviously exists. HTH Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail:
php-list-admin@lists.php.net
<< email_validation.php3 >> << class.Validator.php3 >>
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

« previous php.general (#37459) next »