if($_FILES['userfile']['type'] !='image/vnd.adobe.photoshop' && 'application/postscript') {
echo "sorry,we only allow PSD / AI FILES";
exit;
}
各位大大们~要怎样才能一次过辨认PSD 和 AI file 这2种mime type 呢?
|
1650| 4
|
mime type 辨别~求助 [以解决] |
if($_FILES['userfile']['type'] !='image/vnd.adobe.photoshop' && 'application/postscript') {
ech ...
缘之人 发表于 2012-3-1 05:17 PM