Electronic learning or e-Learning is a general term used to refer to computer-enhanced learning. It is used interchangeably in so many contexts that it is critical to be clear what one means when one speaks of 'eLearning'. In many respects, it is commonly associated with the field of advanced learning technology (ALT), which deals with both the technologies and associated methodologies in learning using networked and/or multimedia technologies.
Monday, December 24, 2007
E-Learning for dummies
PHP Tutorial: Login Form
One of the most popular uses of PHP is to secure acess to various portions of a website based on a user's login name and password. This is a failry simple thing to do and in this tutorial I will show you how to construct a PHP login form using the functions in my php login form script.
The first step to building a simple user authentication system is to create the table in your database that stores the login information. In this script we use one mysql table called"'logins", and the login name and password fields are stored in a hashed (md5) and encrypted state for security reasons. The function that issues the SQL command to create this table looks like this:
function MakeTableLogins($database, $host, $db_user, $db_pass) {//create the logins table
$linkID = mysql_connect($host, $db_user, $db_pass);
mysql_select_db($database, $linkID);
mysql_query("create table logins (user char(32), pasword char(32))", $linkID);
}
The first step to building a simple user authentication system is to create the table in your database that stores the login information. In this script we use one mysql table called"'logins", and the login name and password fields are stored in a hashed (md5) and encrypted state for security reasons. The function that issues the SQL command to create this table looks like this:
function MakeTableLogins($database, $host, $db_user, $db_pass) {//create the logins table
$linkID = mysql_connect($host, $db_user, $db_pass);
mysql_select_db($database, $linkID);
mysql_query("create table logins (user char(32), pasword char(32))", $linkID);
}
This should be called by passing the name of the database, database server host and the username password for that database server.
We only use one way encryption because our script never needs to know the actual plaintext of the username or password, its only must decide if the supplied information matches the information from the table. This is done by performing the same hash/encrypt routine on the inputted data and then comparing those values to the database. The function this script uses to return the encrypted data looks like this:
function Encrypt($string) {//hash then encrypt a string
$crypted = crypt(md5($string), md5($string));
return $crypted;
}
The next thing our script will have to be able to do is to add the requried users records to the table. We cannot do this by hand because the data is encrypted so there is a function that handles this also:
function AddUser($database, $host, $db_user, $db_pass, $username, $password) { //add user to table logins
$linkID = mysql_connect($host, $db_user, $db_pass);
mysql_select_db($database, $linkID);
$password = encrypt($password);
$username = encrypt($username);
mysql_query("insert into logins values ('$username', '$password')", $linkID);
}
The next and final piece to our script is the actual login function. This function is passed arguments of the database login information, and the username and password the user supplied. The function returns true if the user information matches the data in the table exactly and false if they do no match.
function Login($database, $host, $db_user, $db_pass, $user, $password) { //attempt to login false if invalid true if correct
$auth = false;
$user = Encrypt($user);
$linkID = mysql_connect($host, $db_user, $db_pass);
mysql_select_db("$database", $linkID);
$result = mysql_query("select password from logins where user = '$user'", $linkID);
$pass = mysql_fetch_row($result);
mysql_close($linkID);
if ($pass[0] === (Encrypt($password))) {
$auth = true;
}
return $auth;
}
Video Example:
Naruto Shippuden
Type: Shōnen
Genre: Action, Comedy, Drama, Fantasy
Manga: Naruto
Author: Masashi Kishimoto
Publisher: Jump Comics
Original run: Nov. 1999–ongoing
Naruto is a Japanese manga series written and illustrated by Masashi Kishimoto with an anime adaptation. The main character, Naruto Uzumaki, is a loud, hyperactive, unpredictable adolescent ninja who constantly searches for recognition and aspires to become a Hokage, the ninja in the village acknowledged as the leader and the strongest of all.
Twelve years before the events at the focus of the series, the nine-tailed demon fox attacked Konohagakure. Powerful enough to raise tsunamis and flatten mountains with a swish of one of its tails, it raised chaos and slaughtered many people, until the leader of the Leaf Village – the Fourth Hokage – sacrificed his own life to seal the demon inside the newborn, Naruto Uzumaki.The Fourth Hokage, who was celebrated as a hero for sealing the demon fox away, wanted Naruto to be respected in a similar light by being the containment vessel for the demon fox.
The Leaf Village, however, shunned him, regarding Naruto as if he were the demon fox itself and mistreated him throughout most of his childhood. A decree made by the Third Hokage forbade anyone to discuss or mention the attack of the demon fox to anyone, even their own children. However, this did not stop them from treating him like an outcast and as a result he grew up an orphan without friends, family, or acknowledgment. He could not force people to befriend him, so he sought acknowledgment and attention the only way he knew – through pranks and mischief.
However, that soon changed after Naruto graduated from the Ninja Academy by using his Shadow Clone Technique, a technique from a forbidden scroll that he was tricked into stealing, to save his teacher, Iruka Umino, from the renegade ninja Mizuki. That encounter gave Naruto two insights: that he was the container of the demon fox, and that there was someone besides the Third Hokage who actually cared for and acknowledged him. His graduation from the academy opened a gateway to the events and people that would change and define his world, including his way of the ninja for the rest of his life.
The main story follows Naruto and his friends' personal growth and development as ninja, and emphasizes their interactions with each other and the influence of their backgrounds on their personalities. Naruto finds two friends and comrades in Sasuke Uchiha and Sakura Haruno, two fellow young ninja who are assigned with him to form a three-person team under an experienced sensei named Kakashi Hatake. Naruto also confides in other characters that he meets throughout the series as well. They learn new abilities, get to know each other and other villagers better, and experience a coming-of-age journey as Naruto dreams of becoming the Hokage of the Leaf Village.
Throughout all of the Naruto plot, strong emphasis on character development changes the plot, with very few things happening because of chance. At first, emphasis is placed on Naruto, Sasuke, and Sakura, who are the members of Team 7. However, other characters are developed, such as Kakashi, Tsunade, and Jiraiya, as well as Naruto's peers in the other teams and villages. Several major villains come into play as well, the first being Zabuza Momochi, a missing-nin from Kirigakure, and his partner, Haku. Later, in the Chunin Exams arc, Orochimaru is introduced as an S-Class missing-nin at the top of Konoha's most wanted list. Also During this arc three ninjas known as The Sand Siblings are introduced. These siblings are from Sungakure and include Temari, Kankuro, and Gaara. Later still, a mysterious organization called Akatsuki begins to pursue Naruto for the nine-tailed demon fox inside him.
Naruto: Shippūden tells the story of a matured and older cast from the original series. After training for 2½ years with Jiraiya, Naruto Uzumaki, now fifteen, returns to Konohagakure, reunites with the friends he left behind, and reforms the original Team 7, excluding Sasuke Uchiha.
Unlike the original series, the organization of Akatsuki, which played a minor role earlier, takes on the main antagonist factor in their attempts of world domination. All of Naruto's classmates have matured and improved in the ranks, some more than others.
Naruto Shippuden chapter 01:
phpMyAdmin Import database
1) Using your web browser, browse to the PHPMyAdmin location of the server where the database you wish to import resides. For example: http://www.example.com/phpmyadmin/for a remote database andhttp://localhost/phpmyadmin/for a database hosted on your Apache2Triad installation. Here you will either need to select an existing database name in the combo box on the left side of the PHPMyAdmin page, or create a new one. Note that if you are setting up a database on a remotely hosted site, your host may have prohibitions on the creation of MySQL databases that require they be created outside of PHPMyAdmin by means of a control panel or other mechanism; check with your web hosting service for specific details of their requirements.
2) One you have selected or created the appropriate database name, select the tab labeled "Import" on the PHPMyAdmin page to be taken to the import page.
3) Find the control group in the Import page form labeled "Location of the text file" and click the button labeled "Browse", following the resulting dialogs to select the database file of your choice.IMPORTANTIf you are importing a database that you exported using the instructions in this tutorial, remember, the tables of the imported database will overwrite any that exist in the database you are importing to, overwriting them. Therefore it is important to double-check that the database you are selecting and the target you are importing to are correct before proceeding. If uncertain, you should back up the target database before importing a new one into it.
4) Click the button labeled "Go" to import your new database.
Example:
2) One you have selected or created the appropriate database name, select the tab labeled "Import" on the PHPMyAdmin page to be taken to the import page.
3) Find the control group in the Import page form labeled "Location of the text file" and click the button labeled "Browse", following the resulting dialogs to select the database file of your choice.IMPORTANTIf you are importing a database that you exported using the instructions in this tutorial, remember, the tables of the imported database will overwrite any that exist in the database you are importing to, overwriting them. Therefore it is important to double-check that the database you are selecting and the target you are importing to are correct before proceeding. If uncertain, you should back up the target database before importing a new one into it.
4) Click the button labeled "Go" to import your new database.
Example:
Eclipse and Java for Total Beginners
Eclipse is an open source community whose projects are focused on building an open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle. A large and vibrant ecosystem of major technology vendors, innovative start-ups, universities, research institutions and individuals extend, complement and support the Eclipse platform.


Video Trailer:
Living in OIC

I'm living in Okinawa International Center in Japan. This is a good experience, because I can learn many new interesting things, such as: Multimedia knowledge and skills, photo and video editing and so.
Also I'm learning about japanese culture, live and language.
I'm enjoying Okinawa.
Thanks a lot JICA
My Favorite Video Game: Sengoku Basara 2
This is one of my favorites video games for Playstation 2: Sengoku Basara 2. This game was created by Capcom Co. in august of 2006 and it is based in Japan Sengoku Age.
Image Cover:
Video Trailer:
Image Cover:
Video Trailer:
Subscribe to:
Posts (Atom)