$filename = $_POST['newfile'];
$filename = $_POST["newfile"];
I've seen these both used in scripts that process form data will the two return different values?
Functionally they are identical. String literals may be enclosed in single or double quotes. There are some differences, but in this case they don't apply. See http://www.php.net/manual/en/language.types.string.php for more info. (Also see http://www.php.net/manual/en/language.types.array.php#language.types.array.foo-bar as to why $filename = $_POST[newfile]; would probably also work, but would be bad coding practice.)