Re: [PHP] File Type not working in Uploaded File

2002-05-11 Thread Thomas Edison Jr.
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

Re: [PHP] File Type not working in Uploaded File

2002-05-10 Thread 1LT John W. Holmes
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