Hi,
Ok there were a lot of mistakes in that code. IN fact
i rubbed it off completely and am using a new code..
Everything works fine now, except that if the filename
exists, any new file with the same name overwrites the
old file.. What do i do about it?
Here is the code i'm using :
?php
Well, first thing I notice is that in your form you name your file input as
file, yet nowhere in your code do I see you getting any values from _FILES
or $file (depending on your version of PHP). So...how do you expect it to do
anything with your file if you don't tell it to?? Maybe you left out
2 matches
Mail list logo