You are here

function check_file in Drupal 5

Same name and namespace in other branches
  1. 4 includes/common.inc \check_file()
  2. 6 includes/common.inc \check_file()

Related topics

File

includes/common.inc, line 982
Common functions that many Drupal modules will need to reference.

Code

function check_file($filename) {
  return is_uploaded_file($filename);
}