note 13585 added to function.filetype.php

From: Date: Fri, 22 Jun 2001 18:03:32 +0000
Subject: note 13585 added to function.filetype.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14567@lists.php.net to get a copy of this message
Sorry, checking if the variable is empty should not be done with '$x = ""' change that line in my code to this: if (is_null($file_type)) { $file_type = "unknown"; } http://www.php.net/manual/en/function.filetype.php

« previous php.notes (#14567) next »