note 84219 added to features.file-upload

From: Date: Thu, 03 Jul 2008 19:39:57 +0000
Subject: note 84219 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-141125@lists.php.net to get a copy of this message
how to find out if uploaded file is an image: <? $atipo = $_FILES['archivo']['type']; if ((strncmp($atipo, "image/", 6) == 0)) echo "imagen"; else echo "no imagen"; ?> ---- Server IP: 201.216.232.3 Probable Submitter: 190.3.30.202 ---- Manual Page -- http://www.php.net/manual/en/features.file-upload.php Edit -- https://master.php.net/note/edit/84219 Del: integrated -- https://master.php.net/note/delete/84219/integrated Del: useless -- https://master.php.net/note/delete/84219/useless Del: bad code -- https://master.php.net/note/delete/84219/bad+code Del: spam -- https://master.php.net/note/delete/84219/spam Del: non-english -- https://master.php.net/note/delete/84219/non-english Del: in docs -- https://master.php.net/note/delete/84219/in+docs Del: other reasons-- https://master.php.net/note/delete/84219 Reject -- https://master.php.net/note/reject/84219 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141125) next »