my Copy code is not working I have no idea why
here is the form
<FORM ACTION="<?php echo $PHP_SELF ?>?step=1" METHOD="post" enctype="multipart/form-data">
<br><br>
<table border=0 cellpadding=0 cellspacing=0 width=500><tr><td align=left>
<input type="file" size=25 name="importfile"><br>
<br>
<input class=submit type="submit" name="submit" value="Upload File">
</td></tr></table>
</form>
Then when step is 1 it's supposed to copy over. I set all the permissions up.
$leadfile = "eng/tmp/$importfile_name";
//unlink($leadfile);
copy($importfile, "eng/tmp/$importfile_name");
unlink($importfile);
I've used copy before, is there something specialabout this that I'm missing? The filename is Chiller1Data04-02-03.txt does this code not like dashes?