[Fwd: DNS.050125191312.29782 (Re: Re: [PHP] Replace credit card numbers with X ???)]

From: Date: Tue, 25 Jan 2005 16:12:43 +0000
Subject: [Fwd: DNS.050125191312.29782 (Re: Re: [PHP] Replace credit card numbers with X ???)]
Groups: php.general 
Request: Send a blank email to php-general+get-207241@lists.php.net to get a copy of this message
Hey! I just got this emai lfrom RIPN mail processor at Moscow ?!?!?!?!? What's going on? -afan -------- Original Message -------- Subject: DNS.050125191312.29782 (Re: Re: [PHP] Replace credit card numbers with X ???) Date: Tue, 25 Jan 2005 19:13:27 +0300 From: RIPN NCC <ru-ncc@ripn.net> To: php-general@lists.php.net,afan@afan.net Dear Madam/Sir, Here are results of processing your request:
From:    Afan Pasalic <afan@afan.net>
Subject: Re: [PHP] Replace credit card numbers with X ???
Date:    Tue, 25 Jan 2005 10:06:21 -0600
Msg-Id: <41F66E7D.2020009@afan.net>
this is my way. unrecognized statment - line ignored.
        $cc_stars = '';
unrecognized statment - line ignored.
        $cc_no_lenght = strlen($cc_number);
unrecognized statment - line ignored.
        $cc_info_first4 = substr($cc_number, 0, 4);
unrecognized statment - line ignored.
        $cc_info_last4 = substr($cc_number, (strlen($cc_number) - 4), 4);
unrecognized statment - line ignored.
        for($i=0; $i<($cc_no_lenght-8); $i++) $cc_stars .= '*';
unrecognized statment - line ignored.
        $cc_number = $cc_info_first4 .$cc_stars. $cc_info_last4;
unrecognized statment - line ignored.
-afan unrecognized statment - line ignored.
Joe Harman wrote: unrecognized statment - line ignored.
Hello, unrecognized statment - line ignored.
unrecognized statment - line ignored.
I need to replace all the numbers of a credit card except for the last unrecognized statment - line ignored.
4 with an 'X' ... can't seem to locate the string function for this... unrecognized statment - line ignored.
can someone point me in the right direction here to what php item i unrecognized statment - line ignored.
should be using. unrecognized statment - line ignored.
Too many warnings (max. 2) - FATAL ERROR!
Thanks! Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Your current request counter: 1. You may send us 119 in this hour. Thank you, RIPN mail processor. Tue Jan 25 19:13:27 MSK/MSD 2005 Moscow, Russia.

« previous php.general (#207241) next »