On Friday 07 June 2002 12:32, Ed Greenberg wrote: > I have a small test script which fails when enctype="multipart/form-data" > is set. > > <form action="action.php" method="post" enctype="multipart/form-data"> > Your name: <input type="text" name="name"> > You age: <input type="text" name="age"> > You file: <input type="file" name="myfile"> > <input type="submit"> > > When the above is submitted to action.php, $_POST and $HTTP_POST_VARS are > both empty. If I remove the enctype="multipart/form-data" portion of the > form tag, the arrays are set correctly, and in fact, the global_variables > are created since register_globals is on. > > Platform is RedHat Linux 7.3 (Valhalla) with PHP 4.1.2 and Apache 1.3.23 as > installed from RedHat's Valhalla RPMS.
Have you enabled file uploads in php.ini? -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* A Smith & Wesson beats four aces. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php