Back when I was always doing PHP work, even if I was going to be the only one ever using the page, I always sanitized out of habit. I personally feel thats a good thing though
It has lots of so many unwanted features in it that over complicate things. I don't really know how makefiles work I heard about them but I never actually learned to use them. I already had MinGw installed so I decided to use that
Ill look into it as I don't know the use of command prompt nor its features available. Im using command prompt only because I don't wanna use codeblocks nor Visual C++ as its a tough job to get them supporting allegro library and none of their interfaces really suit my needs. I found that Notepad++ was really the easiest for me to use as it didn't have tons of features and it had a larger window for typing code which appealed much more to me.
I did just find 1 potentially site breaking problem.
For the sorting method, I notice you pull the DESC or ASC straight from the URL. This is very dangerous, because (I didn't try anything to break it) I just put a random string in there and it returned a MySQL error, which means that you are putting that string straight into SQL. A better way would be to have maybe order=1 and then use a switch/case statement to say:
switch($_GET['sort']) {
case 1: $order="ASC"; break;
case 2: $order="DESC"; break;
default: $order="ASC";
}
The "onInput" method adds input input processing to an object. The first parameter is the name of the input for reconfiguration (ie. Think "Attack" button or "Cast Spell A"), the second one is which input, in this case, K (keyboard) P (button press) I (the 'I' key on the keyboard), and the third parameter is the code to fire on the object when the input occurs. So off memory, it's like KP (keyboard press) KR (?) (keyboard release), etc. There's also Mouse and Joystick, lol.
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!
I just got to watch the video because even though I was there I was trying to work out tech problems with the chat since I was the social media guy so I was distracted but check it out guys the video is super fucking great!