Re: 4.04 --> 4.1.2 incompatible

From: Date: Tue, 20 Aug 2002 17:03:21 +0000
Subject: Re: 4.04 --> 4.1.2 incompatible
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-113365@lists.php.net to get a copy of this message
Petre Agenbag wrote:
My oh my OK, can someone help with this one??? My original Form conatined the following: <form action="test.php" method="POST" enctype="multipart/form-data"> bla, bla And then things broke, so, out of curiosity, I removed the enctype="" part, and now it works????/
Another tip you might find useful if you're writing code that outputs a <FORM> that posts to itself, is to echo $PHP_SELF instead of hard-coding the target. If you happen to move your code elsewhere in the future, this will save you the time of having to go back and specify a new POST target. drw

« previous php.general (#113365) next »