Hi all,
I've been working on this project for a while now. While the script works, I know it is not as polished as it should be, for security purposes. This script is designed to walk someone through filling out a NYS Bingo report form, and printing out the required forms and tracer paperwork. I know some of the fields will not carry over into the PDF file, and that's my next problem area. Right now, I want to get the code cleaned up and more secure and stable, since I know I just stuck script together with duct tape.
I've attached the files I'm using. The only ones I'm not attaching are the configuration file the rest of the script uses in a require() call at the top and the PDF file itself. A mockup of the config file is printed below:
$games = array(
array("adm","Admission",2,3,"",310),
array("bon","Bonus",2,5,70),
array("6up","6 Ups",2,6,30,190),
array("9up","9 Ups",2,9,30),
array("12up","12 Ups",2,11,30),
array("cas","Casino",4,"","",50),
array("svn","Seven",3,1,"",50),
array("gls","Champagne",3,1,"",50),
array("jpt","Jackpot",2,1,"",0));
$paylvl = array(0,276,515,585,810);
$usr =array(
array('name','address','city','zip','county','phone'),
//etc. ad nauseum
);
?>