BlueDevil23 Posted April 17, 2009 Posted April 17, 2009 Got really bored late one night, so just picked something I could recode pretty quickly, and give me something to do. So, here it is, all it basically is, is more customizable, and overall programmed better than the original. Just replace lucky.php with this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. For V1 -- Thanks to Assault :) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Run this SQL statement (V1 only) -- Thanks to Crazy-T :) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add this to your day cron (V1 only) -- Thanks Alabamahit :) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You can add more cases to it, by simply following the same format of the other cases, and adjusting the $num variable. edit: Small updates Quote
Assault Posted April 17, 2009 Posted April 17, 2009 Re: [mccode v2] Lucky Boxes You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. For v1 but i need the sql inserts do you think you could post those specifically i need the 'boxes_opened' in 'field list' Quote
DELETE ME NOW! Posted April 17, 2009 Posted April 17, 2009 Re: [mccode v2] Lucky Boxes You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There :=) Quote
Magictallguy Posted April 17, 2009 Posted April 17, 2009 Re: [mccode v2] Lucky Boxes You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There :=) Just curious.. Why did you encase an SQL statement inside PHP tags? Quote
(((TOLK))) Posted April 17, 2009 Posted April 17, 2009 Re: [mccode v2] Lucky Boxes Maybe for Pwetty Cowours Quote
Assault Posted April 17, 2009 Posted April 17, 2009 Re: [mccode v2] Lucky Boxes You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There :=) Thanks! Quote
POG1 Posted April 17, 2009 Posted April 17, 2009 Re: [mccode v2] Lucky Boxes You could beef up the security of the code by checking if the GET variable is a number as well as isset on this line. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Also @ crazy-t's sig if you think about it logically then you are still posting mods ;) Not posting any mods on here no more. Quote
Assault Posted April 17, 2009 Posted April 17, 2009 Re: [mccode v1 + v2] Lucky Boxes this is going to need a cron was just thinking about this... does anyone have the cron job for this? it would be a daily run cron Quote
AlabamaHit Posted April 17, 2009 Posted April 17, 2009 Re: [mccode v1 + v2] Lucky Boxes in whatever cron updates your uses Days Old. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Assault Posted April 17, 2009 Posted April 17, 2009 Re: [mccode v1 + v2] Lucky Boxes Thanks for that one Quote
BlueDevil23 Posted April 17, 2009 Author Posted April 17, 2009 Re: [mccode v1 + v2] Lucky Boxes Sorry about that Assault, I don't nor ever have used or experimented with V1 Thanks AlabamaHit :) Quote
DELETE ME NOW! Posted April 17, 2009 Posted April 17, 2009 Re: [mccode v2] Lucky Boxes You could beef up the security of the code by checking if the GET variable is a number as well as isset on this line. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Also @ crazy-t's sig if you think about it logically then you are still posting mods ;) Not posting any mods on here no more. How it was an SQL for someone no it aint no mod xD You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There :=) Just curious.. Why did you encase an SQL statement inside PHP tags? Because of the colors :) Quote
Karlos Posted April 17, 2009 Posted April 17, 2009 Re: [mccode v1 + v2] Lucky Boxes Because of the colours? SQL have a different Syntax highlighting to PHP... :roll: Quote
DELETE ME NOW! Posted April 17, 2009 Posted April 17, 2009 Re: [mccode v1 + v2] Lucky Boxes Because of the colours? SQL have a different Syntax highlighting to PHP... :roll: You dont say, i do know lol. If the forum had tags like You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i would of done that but it dont thats why i done it! Quote
BlueDevil23 Posted April 17, 2009 Author Posted April 17, 2009 Re: [mccode v2] Lucky Boxes You could beef up the security of the code by checking if the GET variable is a number as well as isset on this line. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Also @ crazy-t's sig if you think about it logically then you are still posting mods ;) Not posting any mods on here no more. Can do. :) Code updated. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.