It's an Apache2 / PHP bug. Upgrade to the latest versions of each (although Apache2 and PHP are still not recommended).
---John W. Holmes... Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ > -----Original Message----- > From: esctoday.com | Wouter van Vliet [mailto:[EMAIL PROTECTED] > Sent: Monday, June 09, 2003 7:21 AM > To: HPS; [EMAIL PROTECTED] > Subject: RE: [PHP] post data? > > in that case,.. I guess something is going wrong in your checkform > javascript function .. probably you attach the name and value (by mistake) > to eachother in there .... > > -----Oorspronkelijk bericht----- > Van: HPS [mailto:[EMAIL PROTECTED] > Verzonden: maandag 9 juni 2003 12:16 > Aan: [EMAIL PROTECTED] > Onderwerp: Re: [PHP] post data? > > > the form tag is > <form action="syn2.php" method="post" onSubmit="return checkform(this);"> > > Thx! > HPS > > > > "Esctoday.Com | Wouter Van Vliet" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > What does your form tag look like? > > > > -----Oorspronkelijk bericht----- > > Van: HPS [mailto:[EMAIL PROTECTED] > > Verzonden: maandag 9 juni 2003 9:32 > > Aan: [EMAIL PROTECTED] > > Onderwerp: [PHP] post data? > > > > > > Dear all, > > > > i am using PHP 4.2.2 with Red Hat 8.0 > > i had a form in <form.php>, which has a form like this > > <input class=text type=text name=course_id size=10 maxlength=10 > > value=""> > > say, i enter "6" in the text box. > > > > After i click the submit button and i echo the value of "course_id", it > > returned "6course_id=6", NOT "6" > > do you have any idea? > > > > > > thx a lot! > > HPS > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php