You are here

function check_file in Drupal 6

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

File

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

Code

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