• 25Nov

    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.
    In this introduction, I show how we can insert rows into a table, the meaning of auto_increment, What PRIMARY keys are, and other things.
    You can find this tutorial video on youtube here.

    More after the break.
    Read more…

  • 24Nov

    I am trying to get Technorati to acknowledge this blog with the assigned the claim token DHQ8YDFPGBJK
    Hopefully this works and brings more publicity

  • 21Nov

    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.

    This video goes over what MySQL is and how useful PHPMyAdmin is to work with PHP. This is just the first part of several introduction videos on how to use PHPMyAdmin.
    You can find this tutorial video on youtube here.

  • 18Nov

    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…

  • 13Nov

    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!

  • 13Nov

    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.
    You need flash to play this tutorial.
    This tutorial goes over the following goals:
    Convert the game from tutorial 25 to Command Line Interface mode
    Use Serialize to save the game
    Use Unserialize to load the game back.
    You can find this tutorial video on youtube here.

    Read more…

  • 13Nov

    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.
    This tutorial goes over the following goals:
    Show what Serializing does
    Show what unserializing a serialized string does
    Show how to store and use later
    You can find this tutorial video on youtube here.

    Read more…

  • 13Nov

    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.
    You need flash to play this tutorial.
    This tutorial goes over the following goals:
    Save a file
    Overwrite a file
    The differences between the PHP 5 method and the PHP 4 method
    You can find this tutorial video on youtube here.

    Read more…

  • 12Nov

    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.
    This tutorial goes over the following goals:
    Use the terminal to execute PHP
    Use the terminal to get data from the user(instead of the web browser)
    Use php in the terminal to give information back
    Make a game.
    You can find this tutorial video on youtube here.

    Read more…

  • 12Nov

    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.
    This tutorial goes over the following goals:
    Create a hash for my "generic" password
    Make a login form
    Get user input, hash it
    Compare the hashes
    Determine if valid credentials.
    You can find this tutorial video on youtube here.

    Read more…

« Previous Entries