>
> function saveRecord ($db,$POST) {
>$bd = "/absolute_path_to_document_root";
>$fp = "/path_to_files_from_document_root/";
>$ud = $bd . $fp;
> $path = $ud.$file; // absolute path to newly named file
> if ($fail || !$name || !$temp) continue;
> // @unlink
Ok, here is my problem. Using the code below, I am saving a posted form to
a database including the files it contains.
There is one line commented out.. The unlink command. Without the command,
the script works fine and new files
Overwrite the old files when uploaded. If, however, I uncomment
2 matches
Mail list logo