AW: [PHP] Re [PHP] Upload function
| From: | Florian Stührk | Date: | Thu, 24 Aug 2000 09:30:34 +0000 |
| Subject: | AW: [PHP] Re [PHP] Upload function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13340@lists.php.net to get a copy of this message | ||
filetype does not work. the return values of filetype are fifo, char, dir,
block, link, file... no gif or jpeg????
-fs
-----Ursprüngliche Nachricht-----
Von: Ovidiu EFTIMIE [mailto:eovidiu@rds.ro]
Gesendet: Donnerstag, 24. August 2000 11:23
An: Florian Stührk; php-general@lists.php.net
Betreff: [PHP] Re [PHP] Upload function
Use filetype(filename)returns the file type
Ovidiu
-----Mesaj original-----
De la: php-general-return-13335-eovidiu=rds.ro@lists.php.net
[mailto:php-general-return-13335-eovidiu=rds.ro@lists.php.net]În numele
Florian Stührk
Trimis: Thursday, August 24, 2000 11:58 AM
Catre: php-general@lists.php.net
Subiect: [PHP] Upload function
Hi,
i tried to upload some images, using a html form and the php copy function.
How can i prevent users form uploading other file types than gif and jpeg?
Thanks,
Florian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net