PHPMyAdmin, a free tool to administer MySQL databases that provides the SQL statements used so you can redo what you did in the web application in php code.
More after the break.
Read more…
PHPMyAdmin, a free tool to administer MySQL databases that provides the SQL statements used so you can redo what you did in the web application in php code.
More after the break.
Read more…
I am trying to get Technorati to acknowledge this blog with the assigned the claim token DHQ8YDFPGBJK
Hopefully this works and brings more publicity
MySQL is a commonly used database tool that many developers use freely. It is Open Source, and there are no license fees. PHP developers usually will use MySQL to save data, which can be searched, organized and managed to return the data needed for the goals of the developer. PHPMyAdmin is a free tool to manage and edit a MySQL database. It is Free, Straight forward, and quick. It also gives you the SQL queries you can use to recreate what it does.
Soon I will be making MySQL and PHPMyAdmin video tutorials so that in the PHP section, we can dive into the wonderful world of databases.
Read more…
I finally moved over to the WordPress format for my tutorials. Hopefully it will make it easier to use and to learn from. If you have any suggestions, feel free to contact me!
Remember that Grid game back in tutorial 025? In this tutorial, I convert it to a Command Line Interface game instead of a web server game with a session. This tutorial has 3 parts and goes over the application of the past things I have gone over.
Read more…
Well, there are several methods to make arrays, but to save them it is easiest to use serialize. It retains about every aspect of variable. However if you are doing Object Oriented Programming, it does not retain the functions for a class. You can usually use serialize() to safely store your values in a text format that you can restore at a later time. This tutorial demonstrates what it does, and sort of how PHP uses serialize and unserialize.
Read more…
Here I demonstrate the ability for PHP to save files, with both the PHP 5 and PHP 4 method. Using file_put_contents() I can save files, or I can use fopen(), fwrite(), and fclose() to save a file. Naturally it is easier to use the single function available in the latest PHP build. If you want to refer back to the previous tutorial where I demonstrated loading files, you can see how these two pretty much go together.
Read more…
Here I am showing how PHP can be used in a way that isn’t on a server or web page. You can use PHP in a terminal to make a game, or you can use it for more practical uses like a more elaborate sh or batch file in a command line interface. If you recall in the previous tutorial (020), I made up a story. Well, now we can introduce this to where it is somewhat like a game. It can be like a game because we can get the user’s input easily through the terminal. Note that this is not made for a server, but the command line interface. There are two parts of this tutorial.
Read more…
This is an extension on the last tutorial (026) with hashing text. In this tutorial, I show how we can have a log in form where the password is not saved as raw text, but as a hashed fingerprint. We can compare the hashes to see if they put in the correct password, if so, they logged in correctly. This is a common practice to do with passwords. In the case your database gets compromised, your users won’t have their passwords “stolen” easily.
Read more…