Re: Variable Problems with 'multipart/form-data'

From: Date: Wed, 19 Jun 2002 02:53:51 +0000
Subject: Re: Variable Problems with 'multipart/form-data'
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-102842@lists.php.net to get a copy of this message
I think I just solved this for myself! Look in your /etc/php.ini for: file_uploads = Off ...change it to file_uploads = On - AFC "Seoz" <seoz@nicei.co.kr> wrote in message news:005601c2173a$1a25ebb0$764efea9@dreamfactory... Hello I'm Korean PHPer. I found a Strange problem with 'multipart/form-data'. I made this script: -- test.php -- <? echo "$a"; ?> <form method=post action=test.php> <input type=hidden name=a value=1> <input type=submit value=ok> </form> ------------------ It works good. but when I modify it a little bit, problem occurs. -- test.php (modified) -- <? echo "$a"; ?> <form enctype="multipart/form-data" method=post action=test.php> <input type=hidden name=a value=1> <input type=submit value=ok> </form> ------------------ I just inserted ' enctype="multipart/form-data" '. But it doesn't work. T.T Uhm... I don't know what is problem with my script. PHP Configuration 'Register Globals = ON' and PHP Version is 4.1.2. And System is Red Hat Linux release 7.3 My script works good in other servers. Please help me.

« previous php.general (#102842) next »