<?php

  $user = "Chinmoy Barua [mailto:[EMAIL PROTECTED]";

  function spam-o-meter( $sender ) {
    return( is_real($sender) ? 'not spam' : 'spam' );
  }

  if( spam-o-meter($user) == 'spam' ) {
    echo "punt user!";
  }

?>

This sender is correct; this was a great opportunity for me to brush up
on some PHP programming and code analysis.  For example if we were to
study this simple script we'll discover that it will always return SPAM
and suggests that the user should be punted.


      
> -----Original Message-----
> From: Chinmoy Barua [mailto:[EMAIL PROTECTED]
> Sent: Sunday, April 06, 2003 1:43 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Great Opportunity for all group members!!!
> 
> 
> Great Opportunity for all group members!!!
> 
> Please Join its free!!! You will have $50 extra Bonuses and earnings
> only with sign up this progam.
> 
> Bonuses and Earnings:
> 
> A $50.00 sign-up bonus will be awarded to each new member of Platinum-
> Mails. This bonus will become payable when the member has earned
> $200.00. A member will receive a $15.00 bonus for each new member who
> joins Platinum-Mails through their referral link. This bonus will
> become payable when that new member has earned $200.00. It is real
> 
> Limited number of new user will accepted. Good luck!!!
> 
> For join please visit:
> http://platinum-mails.ebiz-enterprises.com/?r=chinmoy
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.467 / Virus Database: 266 - Release Date: 4/1/2003
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.467 / Virus Database: 266 - Release Date: 4/1/2003
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to