I currently have this:
fwrite($passwordSave, htmlspecialchars ("\<\?php\n\t\$password \= " . $_POST['$password1'] . "\;\n\?\>");
But it is feeding me out an error. I want it to right something that ends up looking like this:
<?php
[tab]$password = 'entered password';
?>
I am not sure wher to add the slashes though. Maybe someone could help me