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" <[EMAIL PROTECTED]> wrote in message
005601c2173a$1a25ebb0$764efea9@dreamfactory">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.






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to