Date: 12/01/99
- Next message: Sascha Schumann: "Re: [PHP-DEV] File-upload bug in 3.0.13-dev?"
- Previous message: Adam Wilkinson: "[PHP-DEV] Re: Bug #2879 Updated: Tinyint and bit fields return extra garbage on Sybase ASE on Linux and MS SQL 6"
- Next in thread: Sascha Schumann: "Re: [PHP-DEV] File-upload bug in 3.0.13-dev?"
- Reply: Sascha Schumann: "Re: [PHP-DEV] File-upload bug in 3.0.13-dev?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Take these two scripts:
test.php3:
<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="test2.php3">
<INPUT TYPE="HIDDEN" NAME="MAX_FILE_SIZE" VALUE="1000000">
<INPUT TYPE="FILE" NAME="filename">
<INPUT TYPE="SUBMIT" VALUE="GO">
test2.php3:
<? phpinfo(); ?>
Run it, upload whatever, and look at the PHP Variables section of phpinfo().
Some of the variable names are cropped, i.e.:
HTTP_POST_VARS["MAX_FILE_SIZ"] 1000000
HTTP_POST_VARS["filenam_name"] banner1.gif
HTTP_POST_VARS["filenam"] /tmp/php27724aaa
HTTP_POST_VARS["filenam_size"] 2121
Any ideas?
__________________________________________________________________
Colin Viebrock easyDNS Technologies
control your domain
http://www.easyDNS.com
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sascha Schumann: "Re: [PHP-DEV] File-upload bug in 3.0.13-dev?"
- Previous message: Adam Wilkinson: "[PHP-DEV] Re: Bug #2879 Updated: Tinyint and bit fields return extra garbage on Sybase ASE on Linux and MS SQL 6"
- Next in thread: Sascha Schumann: "Re: [PHP-DEV] File-upload bug in 3.0.13-dev?"
- Reply: Sascha Schumann: "Re: [PHP-DEV] File-upload bug in 3.0.13-dev?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

