PHP Classes

Verification hangs occasionally

Recommend this page to a friend!

      PHP Email validation  >  All threads  >  Verification hangs occasionally  >  (Un) Subscribe thread alerts  
Subject:Verification hangs occasionally
Summary:Occassionally the verification hangs, script is hold for waiting
Messages:2
Author:Simon
Date:2006-02-10 19:46:31
Update:2006-02-10 20:30:03
 

  1. Verification hangs occasionally   Reply   Report abuse  
Picture of Simon Simon - 2006-02-10 19:46:31
Hi, I used the class to do a batch email verification. It works great! But in certain case, the script was put in an endless waiting, and stop responding at all. Which requires me to manually check and start a new thread.

I tried to tweak the value as follow:
$validator->timeout=3;
$validator->data_timeout=3;

Is there anything I can prevent it from holding the process? I'm running the script on a linux box.

Thanks

Simon


  2. Re: Verification hangs occasionally   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2006-02-10 20:30:03 - In reply to message 1 from Simon
Some SMTP servers deliberately stall connections or make several kinds of IP verifications to prevent accepting spam. There is nothing that can be done on such cases besides lowering the timeout values.