ame could not be verified otherwise * the response from the server is returned. * * Implements rfc 821: VRFY * * SMTP CODE SUCCESS: 250,251 * SMTP CODE FAILURE: 550,551,553 * SMTP CODE ERROR : 500,501,502,421 * @access public * @return int */ function Verify($name) { $this->error = null; # so no confusion is caused if(!$this->connected()) { $this->error = array( "error" => "Called Verify() without being connected"); return false; } fputs($this->smtp_conn,"VRFY " . $name . $this->CRLF); $rply = $this->get_lines(); $code = substr($rply,0,3); if($this->do_debug >= 2) { echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply; } if($code != 250 && $code != 251) { $this->error = array("error" => "VRFY failed on name '$name'", "smtp_code" => $code, "smtp_msg" => substr($rply,4)); if($this->do_debug >= 1) { echo "SMTP -> ERROR: " . $this->error["error"] . ": " . $rply . $this->CRLF; } return false; } return $rply; } /******************************************************************* * INTERNAL FUNCTIONS * ******************************************************************/ /** * Read in as many lines as possible * either before eof or socket timeout occurs on the operation. * With SMTP we can tell if we have more lines to read if the * 4th character is '-' symbol. If it is a space then we don't * need to read anything else. * @access private * @return string */ function get_lines() { $data = ""; while($str = @fgets($this->smtp_conn,515)) { if($this->do_debug >= 4) { echo "-------------------" . $this->CRLF; echo "SMTP -> get_lines(): \$data was \"$data\"" . $this->CRLF; echo "SMTP -> get_lines(): \$str is \"$str\"" . $this->CRLF; } $data .= $str; if($this->do_debug >= 4) { echo "SMTP -> get_lines(): \$data is \"$data\"" . $this->CRLF; } # if the 4th character is a space then we are done reading # so just break the loop if(substr($str,3,1) == " ") { break; } } return $data; } } ?> op crafty people from using internal IP addresses if (($digit[0] == 192) || ($digit[0] == 10)) { $valid_address = false; return $valid_address; exit; } } } if (!ereg($space_check, $email)) { // trap for spaces in if ( eregi($valid_email_pattern, $email)) { // validate against valid email patterns $valid_address = true; } else { $valid_address = false; return $valid_address; exit; } } return $valid_address; } ?> eBooks : Zen Cart!, The Art of E-commerce
Warning Warning: I am able to write to the configuration file: /home/globalfl/public_html/biologyofbliss.net/cart/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance. See this FAQ

Your Journey to Bliss


eBooks

This category consists of ebooks that have been written by Dr. Sundardas himself.


Product Image Item Name- Price
Asian Women's Guide to Health, Vitality and Beauty

Asian Women's Guide to Health, Vitality and Beauty

This book is based on the author's clinical experiences of helping women deal with day-to-day living. The special daily trials and tribulations that...
SGD$20.00

... more info

Awakening the Genius in Your Child

Awakening the Genius in Your Child

This book will guide you through the learning processes of your child, and how best can you encourage them to learn and remember. It gives a deep...
SGD$25.00

... more info

Maximising Your Child's Potential

Maximising Your Child's Potential

There has been an increasing recognition that as our society accelerates into the 21st century, we are being deluged by an avalanche of information,...
SGD$17.00

... more info

The Magic of MRET Water

The Magic of MRET Water

Water is much more than we know. Many scientists and leading edge researchers, from around the planet, are continuing to report, that there is much...
SGD$8.00

... more info

Your Passport to Wellness

Your Passport to Wellness

We live in a rapidly changing world, filled with many possibilities. Many of us are often reaching out to embrace all that we can grasp. We often...
SGD$14.00

... more info


Your IP Address is: 54.81.8.73
Copyright © 2017 Biology of Bliss. Powered by Zen Cart