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; } ?> New Products : 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


New Products




Success Permissions: Secrets Revealed

In Stock: 10000

... more info
Success Permissions: Secrets Revealed
Model:
Price: SGD$300.00


Weight: 0lbs

Date Added: Thursday 28 January, 2010
The Success Permission Seminar, a program by Dr. Sundardas, is based on his 20 years of research and testing. With it, you have been shown to be able ... more info

Asian Women's Guide to Health, Vitality and Beauty

In Stock: 10000

... more info
Asian Women's Guide to Health, Vitality and Beauty
Model:
Price: SGD$20.00


Weight: 0lbs

Date Added: Friday 14 August, 2009
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 ... more info

Maximising Your Child's Potential

In Stock: 10000

... more info
Maximising Your Child's Potential
Model:
Price: SGD$17.00


Weight: 0lbs

Date Added: Friday 14 August, 2009
There has been an increasing recognition that as our society accelerates into the 21st century, we are being deluged by an avalanche of information, ... more info

Awakening the Genius in Your Child

In Stock: 10000

... more info
Awakening the Genius in Your Child
Model:
Price: SGD$25.00


Weight: 0lbs

Date Added: Friday 14 August, 2009
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 ... more info

The Science behind The Secret Bundle

In Stock: 10000

... more info
The Science behind The Secret Bundle
Model:
Price: SGD$300.00


Weight: 0lbs

Date Added: Friday 14 August, 2009
Do you ever find yourself unhappy with your life, or wanting to achieve more in your life? The Science behind The Secret, Dr. Sundardas’s latest ... more info

Your Passport to Wellness

In Stock: 10000

... more info
Your Passport to Wellness
Model:
Price: SGD$14.00


Weight: 0lbs

Date Added: Friday 14 August, 2009
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 ... more info

The Magic of MRET Water

In Stock: 10000

... more info
The Magic of MRET Water
Model:
Price: SGD$8.00


Weight: 0lbs

Date Added: Friday 14 August, 2009
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 ... more info


Your IP Address is: 18.97.14.81
Copyright © 2024 Biology of Bliss. Powered by Zen Cart