Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re: Re: Any possible heeeelp please??

by OM_Zen (Scribe)
on Jan 30, 2003 at 18:17 UTC ( #231398=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Any possible heeeelp please??
in thread can perl help me with secure PIN management via database?

Hi ,

use strict; use CGI; #use some mail module like MIME::Lite open(Filenm,"filenames.csv") || die "the file is not ready +to be opened"; while (<Filenm>){ local $/; # Here the file's size is important, for a lesser size t +his is ok my @pindigits = split(',',$_); $pinforphonecard = shift(@pindigits); # have the cgi stuff and MIME::Lite or any that you u +se for mailing part with the $pinforphonecard as the one to be let to + send # then go ahead and remove the $pinforphonecard and a co +mma from the file $_ =~ s/$pinforphonecard,//g; last; }

You should actually go for Tie::Db... as Merlyn observes, as you insist on csv , you could do this way

Replies are listed 'Best First'.
Any possible heeeelp please??
by jcsimba (Initiate) on Jan 30, 2003 at 19:08 UTC
    Hi there, Well it doesn't have to be 'csv'...but so long as the number(s) can be retrieved and then automatically be deleted (or blanked out from further usage!) from some type of file on the server. Thank you for all the help/advice so far!
Re: Re: Re: Re: Any possible heeeelp please??
by jcsimba (Initiate) on Jan 30, 2003 at 20:16 UTC
    Well it doesn't have to be a 'csv' file, it can be another type of long as when a 'pin number' is returned to the customer via broswer or email..that that number is then deactivated from the server 'storage file'.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://231398]
[Your Mother]: The Inquisition? What a show!
[LanX]: which thread are you talking about?
[erix]: great hats
[erix]: the latter-day part of [Answered; thanks.] Can this be explained in layman's terms?
[LanX]: oh I see - a deeply buked discussion
[erix]: auto-da-fe duncey hats
LanX can only recommend css settings hiding certain monkssess ;)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-01-18 00:07 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (159 votes). Check out past polls.