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

From: Date: Wed, 19 Jun 2002 06:17:19 +0000
Subject: Re: Variable Problems with 'multipart/form-data'
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-102891@lists.php.net to get a copy of this message
hi korean phper....i'd encountered this problem while coding in ASP, when one adds the foll entry in the form tag all the page variables are lost .....i hope anthony's trick helps, bye for now "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 (#102891) next »