the problem is - is that I am trying to do that to a string in a varible called crypt
$crypt = crypt($password)
it comed out like this
$1$4ddISlio$p7bvvTNMz69X0rwP6JtKu.
so in the program right after I do a
$pass = str_replace("$", "\$", $crypt);
I get
$1$4ddISlio$p7bvvTNMz69X0rwP6JtKu.
so it dosen't appear like the str_replace worked