Welcome to WebmasterWorld Guest from 184.108.40.206
echo "<input type='text' name='$linecount_$filedcount' value='whatever'>";
When I send this to the next page ... I would like to write to the file like this:
$tempvar = $linecount . "_" . $fieldcount";
Of course I don't even know if a variable in the $_POST array is even possible. Is it?
Also before you just start writing vars into files I would clean them first. The general scenario is a perfect one for XSS.