View Single Post
Old 01-29-2013, 07:23 AM   PM User | #1
amcf1992
Regular Coder

 
Join Date: Jul 2011
Posts: 114
Thanks: 7
Thanked 0 Times in 0 Posts
amcf1992 is an unknown quantity at this point
Parse error: syntax error, unexpected 'print' (T_PRINT)

I'm trying out different salts to store passwords, but I'm getting an error

Parse error: syntax error, unexpected 'print' (T_PRINT) in C:\xampp\htdocs\files\hash.php on line 6

PHP Code:
<?php
  $password
"Pcmac123$";
  
$salt="1B2BVC#";
  
$encryptsha1(md5($salt.$password))
  
  print 
$encrypt;

?>
amcf1992 is offline   Reply With Quote