Im new to PERL and I learned enough to write a small CGI program that takes the data passed from my internet payment service and store it in my mysql database. Now I want to work on making it as "unhackable" as possible so I assume I will need to valadate the data. Could someone help me on how to valadate data. My passed variables contain decimal numbers (ie 5.75), integers, and text passed from the payment service when payment is complete.
(also is there a way to determine if the data was passed from THAT website and not from the user or another website)
if the question makes no sense.... lemme know
Thanks in Advance,