Redex Posted December 23, 2009 Posted December 23, 2009 Hello fellow members of the Makewebgames community. I'm sure everyone will be surprised, to see me posting in the free plug-ins section for once. I decided, to secure bank.php with the help of a friend ( Zeddicus ) and i'm pretty happy with the job me and him have achieved. Since this is my first ever, free plug in, i am excited to the replies i will be receiving. All criticism is also accepted, but please try to make me feel happy ;) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Best Regards: Redex. Quote
Mcfarlin Posted December 23, 2009 Posted December 23, 2009 have to give it a go, but nice work bro. Quote
Redex Posted December 23, 2009 Author Posted December 23, 2009 Thanks Mcfarlin, a slight edit has been made to add more security. If anyone has copied this code, before this post please copy it again. Thanks. Quote
Jordan Palmer Posted December 23, 2009 Posted December 23, 2009 Nice going. I wont be using this but still Good of ya to try Quote
Redex Posted December 23, 2009 Author Posted December 23, 2009 Thanks Jordan, hopefully people replies will give me motivation in securing some other files. Quote
Jordan Palmer Posted December 23, 2009 Posted December 23, 2009 Why not make your own mod.. Bank's been secured about 700 time's lol Quote
Redex Posted December 23, 2009 Author Posted December 23, 2009 I would make my own modification, if i had the most simplest of ideas, and knew how to code ;) Just to clarify, no i'm not one of them people who did not attempt to learn, i have been through tutorials on xhtml,html,php,sql so yup i do know the basics, yet when it comes to making a modification i just don't know what to do ;) Quote
Dave Posted December 23, 2009 Posted December 23, 2009 Nice job! As Jordan has said already though this has been done multiple times, Why not now add a few more features to the bank? Simple ones offcourse such as allowing game owners to change the charge when depositing and withdrawing money from staff panel? Quote
Coly010 Posted December 23, 2009 Posted December 23, 2009 hey nice one Redex! I've been lookng for a bank code. i'll be able to change this into lite i think. ;) if i can would you want me to post it here? Quote
Redex Posted December 23, 2009 Author Posted December 23, 2009 If you want i don't mind, as i said anything you post to help the members is fine with me. Dave, if i knew how to do that, i would be adding lots of features ;) Quote
Danny696 Posted December 23, 2009 Posted December 23, 2009 Heres something you may/may not have known: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. In php 5 can be shortened to just You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Redex Posted December 23, 2009 Author Posted December 23, 2009 Thanks for that Danny. Here is one thing you may/ may not have known, i like the longer version ;). I'm not mocking you buy that way, thought i would get my point across, whilst playing with a bit of comedy. I apologise, if it has caused you any inconvenience. Quote
Coly010 Posted December 23, 2009 Posted December 23, 2009 this code isnt working for me. it says unexpected ')' on line 47. then i took them out and then it wouldnt let me deposit anything. i have run the query [mysql]ALTER TABLE users ADD bankmoney INT(11) NOT NULL[/mysql] but it wont let me deposit. anyone no why? Quote
Redex Posted December 23, 2009 Author Posted December 23, 2009 Try removing this } from line 45 and try adding back line 47. Quote
Coly010 Posted December 23, 2009 Posted December 23, 2009 sorry it would be your line 31 that isnt working for me. i have to add stuff to mine Quote
Djkanna Posted December 23, 2009 Posted December 23, 2009 "Line 31 - $_GET['buy'])) " - That would be where your error is coming from Quote
Danny696 Posted December 23, 2009 Posted December 23, 2009 Remove line 31, it shouldnt be there. Redex, Im not bothered if you dont use it, was just telling you+others, i personally perfer to be quicker, and hope they have PHP5 :P And i could have said use the @, but i think that im one of the only ones that use it for the inlcluding of globals :P Quote
Jordan Palmer Posted December 23, 2009 Posted December 23, 2009 This should work. I have tested it and it worked fine for me, So here goes ;] You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. If you have PHP 5 you can un comment the second include and remove the first otherwise I advise to stay as you are ;] Quote
Jordan Palmer Posted December 23, 2009 Posted December 23, 2009 I didn't code this one but I've edited it to make it work. Should do the Job. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Redex Posted December 23, 2009 Author Posted December 23, 2009 I apologise about all the errors caused. Thanks. 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.