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.


Reply via email to