Tutorials

Today we will talk about sessions and cookies. These are essential to helping users login to sites like this. What are sessions? Sessions are pieces of data that is saved on the server. The server then creates a session identifier, also called session id, on the user's computer. It can be set either through the cookie or the URL and links back to the data on the server.

Posted by in PHP

Hi and welcome back to PHP Trainee. Today will be how to secure your database from injections. You already know what XSS and SMTP injections are. Now we have arrived at the most dangerous injection: SQL. Your database is your most valuable asset in your web server. You can attempt to hide your information in case of a security breach, but you shouldn't be in that situation in the first place.

Posted by in MySQL

With all the recent talks about hackers, I decided to make a lesson on a common network attack, the DoS aka denial of service. Developers are scared of it, network security can't stop it, users are pissed off by it, and website owners lose a ton of money because of it. What is this attack that has everybody with a website dreading the day they called to arms and go to war? What is DoS? First off, DoS is an attack, not a hack.

Posted by in Computer

Hello and welcome back to PHP Trainee! This time you will learn how to insert, update and delete rows. This is the last time I'm going to say this but every MySQL tutorial from now on is going to require: a MySQL database, a table and the connection information. Read the previous tutorials on what this stuff is.

Posted by in MySQL

Hello and welcome to another tutorial at PHP Trainee. Today's tutorial will build upon last week's tutorial on MySQL. This time we will learn how to create a table in PHP. You can do this in phpMyAdmin but sometimes it might be faster to code it out. Before you start First, you need to have a MySQL database.

Posted by in MySQL