Re: [PHP] Re: Upload file field not working as a form element

2004-03-21 Thread Lowell Allen
>> The uploaded file name will be $HTTP_POST_FILES["filename"]["name"] -- use >> that rather than $_POST["filename"]. > > I'm sorry I don't understand. What is the extra ["name"] for? When I use > this in the insert into the value that is inserted into the database is > Array, as opposed to the ac

Re: [PHP] Re: Upload file field not working as a form element

2004-03-21 Thread Jason Wong
On Sunday 21 March 2004 22:53, Vernon wrote: > > The uploaded file name will be $HTTP_POST_FILES["filename"]["name"] -- > > use that rather than $_POST["filename"]. > > I'm sorry I don't understand. What is the extra ["name"] for? When I use > this in the insert into the value that is inserted into

Re: [PHP] Re: Upload file field not working as a form element

2004-03-21 Thread Vernon
> The uploaded file name will be $HTTP_POST_FILES["filename"]["name"] -- use > that rather than $_POST["filename"]. I'm sorry I don't understand. What is the extra ["name"] for? When I use this in the insert into the value that is inserted into the database is Array, as opposed to the actual filen

Re: [PHP] Re: Upload file field not working as a form element

2004-03-21 Thread Lowell Allen
> All I am trying to do is insert the file name, not the file. The file is > being uploaded to the server in a specific location. All I need is the > filename inserted into the database. I've gotten the upload part to work and > everything I just can't get the file name inserted for God knows what