$filename' uploaded"; if (!(file_exists($info_path) && $info == '')) { $info = str_replace('\\\'', '\'', str_replace('\"', "\"", $info)); // Info file $f = fopen($info_path, 'w'); fwrite($f, $info); fclose($f); } } else $msg = "Upload error"; } ?>