Full disclosure: I'm an experienced programming who is relatively new to PHP. Unfortunately, I'm also in a bit of a jam. In short, my boss gave me some PHP code and said, "You have to get this working by Friday." I don't have the luxury to do the proper tutorials, otherwise I wouldn't be rushing to this forum in a bit of a panic.
Here's the problem. The code I'm working with has this line:
Code: Select all
$variable1 = sha1("12345678".$user.$passwd);Code: Select all
<br>
<b>Fatal error</b>: Call to undefined function: sha1() in <b>/export/qhome/dude1/script1.php</b> on line <b>38</b><br>Does anyone have any insight?
Many, many thanks in advance!
-P