Strange Form Error

From: Date: Wed, 29 Aug 2001 16:55:38 +0000
Subject: Strange Form Error
Groups: php.general 
Request: Send a blank email to php-general+get-65055@lists.php.net to get a copy of this message
Hi, Can anyone tell me why php is behaving like this? If I use enctype="multipart/form-data", it seems the first form field is not passed to php. ex: <form method="post" action="products.asp" enctype="multipart/form-data"> <input type="hidden" name="cmd" value="edit"> $cmd will not be passed to php, I have to do this: <form method="post" action="products.asp" enctype="multipart/form-data"> <input type="hidden" name="null" value="null"> <input type="hidden" name="cmd" value="edit"> Now I can use $cmd. Is this normal? Windows Law 1: What boots up must come down... -------- All I ask of life is a constant and exaggerated sense of my own importance. -------- Chris Kovalcik Systems Administrator Interactive Broadcasting Corporation techno@bcadventure.com ------------------------------------------------- Creators of: BC Adventure Network www.bcadventure.com BC Books www.bcbooks.com Casting Shadows www.castingshadows.com Cowboylife www.cowboylife.com Fish BC www.fishbc.com Western Fly Fisher Magazine www.westernflyfisher.com

« previous php.general (#65055) next »