Navigation

InformIT (Pearson Education)

encrypt a password

 

<?php
$password = "abc123";
echo($password."<br>");
$salt = "phelp";
echo(crypt($password, $salt));
?>

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

Related posts:

  1. Generate a random password <?php function random_password () { $seed = (integer) md5(microtime()); mt_srand($seed);...
  2. Creating a table in a MySQL database <?php //connect to your MySQL server using your servername ,...
  3. Create a database ’set up a reference to the Microsoft DAO 3.5 Object...
  4. Latest stock market information using PHP This example is getting information for the Dow Jones stock...
  5. Stock Quote example in PHP This shows how to get stock quote information using Yahoo...

Related posts brought to you by Yet Another Related Posts Plugin.

You must be logged in to post a comment.