the salt string gets added to the beginning of the the string that gets stored in the database, but the salt string must conform to one of the recognized formats.
again, see the crypt manual page for more information:
http://php.net/manual/en/function.crypt.php