I don't understand why merve suggested file operations. They don't seem relevant to this problem...
You probably just want this:
include("1.php");
if (isset($POST['abcd'])) $abcd = $POST['abcd'];
That will set $abcd to whatever the user has submitted, or leave it alone if it hasn't been submitted.
Also, you need this:
<input type="text" name="abcd" value="<?php echo $abcd; ?>">
The name="abcd" part is critical.