Welcome to WebmasterWorld Guest from 126.96.36.199
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.