Jump to content

sean212

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by sean212

  1. Well it does reall make you life easier! Think about it like this...

    Would you rather use this...

    
    <?php
    $handle = mysql_connect('localhost', 'blah', 'tt');
    mysql_select_db('dbaaa');
    
    $check  = mysql_query("SELECT * FROM users WHERE login = '".mysql_real_escape_string($_POST['callsign'])."'", $handle);
    $total = mysql_num_rows($check);
    if ($total == 0) {
    mysql_query("INSERT INTO users (id, login, pass) VALUES (NULL, '".mysql_real_escape_string($_POST['callsign'])."', MD5(".mysql_real_escape_string($_POST['pass']).") )");
    }
    
    ?>
    

    or this...

    <?php
    include "includes/bootstrap.php";
    Pilot::Add($_POST['callsign'], $_POST['pass']);
    ?>
    

    :D

  2. I've looked here before and I always thought of phpVMS as a CMS, but I am beginning to realize that I needed something that has the ability to scale with the airline as it expands. I also hope to help out around her a bit more, since I am paid to work with MVC on PHP on a daily basis :D

    Simulated Continental is moving to phpVMS soon so this should be fun.

×
×
  • Create New...