[PHP] forms and files

2002-07-02 Thread Tyler Longren
Hi, I have a form kinda like this: form action=$PHP_SELF?option=Massaction=add method=POST enctype=multipart/form-data input type=file name=passcodeFile the rest of the form is there too. And $PHP_SELF is set to $PHP_SELF = $_SERVER[PHP_SELF] at the top of the page. When I select a

Re: [PHP] forms and files

2002-07-02 Thread Jason Wong
On Tuesday 02 July 2002 23:34, Tyler Longren wrote: Hi, I have a form kinda like this: form action=$PHP_SELF?option=Massaction=add method=POST enctype=multipart/form-data input type=file name=passcodeFile You really should use around your tag values. What you have is invalid HTML. the

Re: [PHP] forms and files

2002-07-02 Thread Tyler Longren
On Tue, 2 Jul 2002 23:45:56 +0800 Jason Wong [EMAIL PROTECTED] wrote: On Tuesday 02 July 2002 23:34, Tyler Longren wrote: Hi, I have a form kinda like this: form action=$PHP_SELF?option=Massaction=add method=POST enctype=multipart/form-data input type=file name=passcodeFile You

Re: [PHP] forms and files

2002-07-02 Thread Jason Wong
On Tuesday 02 July 2002 23:54, Tyler Longren wrote: that worked. I had to use _FILES instead of _POST I still get these errors though: Warning: fopen(, r) - Success in /usr/local/apache/htdocs/cj/aanr/admin/passcode_admin.php on line 151 Warning: stat failed for (errno=2 - No such file