RE: [PHP-DEV] File Uploads and Win32
| From: | Florian Clever | Date: | Fri, 21 Jul 2000 15:16:57 +0000 |
| Subject: | RE: [PHP-DEV] File Uploads and Win32 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-25359@lists.php.net to get a copy of this message | ||
How big is your file?
Is it bigger then the MAX_FILE_SIZE value?
Florian Clever
USA 503 977-0480 (Office)
USA 503 246-2803 (home)
http://www.Clever-Software-Solutions.de
-----Original Message-----
From: Sebastian Bergmann [mailto:sebastian.bergmann@web.de]
Sent: Friday, July 21, 2000 4:57 AM
To: php-dev mailinglist
Subject: Re: [PHP-DEV] File Uploads and Win32
Andreas Mallek wrote:
> try this (you've forgotten the brackets ("userfile" becomes
> "userfile[]");-)):
>
> <form enctype="multipart/form-data" action="upload.php"
> method="post">
> <input type="hidden" name="MAX_FILE_SIZE"
> value="1000">
> file: <input type="file" name="userfile[]">
> </form>
Now I'm getting
Warning: Max file size exceeded - file [userfile[]] not saved in Unknown
on line 0
userfile : Array
userfile_name : Array
userfile_size : Array
userfile_type : Array
--
<?php $a=explode(" " ,"119 130 128 129 45 110 123 124 129 117 114 127 45 ".
"125 117 125 45 117 110 112 120 114 127");for($i=0;$i<sizeof($a);$i++)print
chr($a[$i]-13);// http://gravedancer.rc5.de/ |
sebastian.bergmann@web.de ?>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net