I want to find a file with a wildcard in the same directory as my index.php is.

When I assign the $file\_name manually with the name string, it works fine.

```
<?php
$file_name = glob("*.csv");
$handle = fopen($file_name, "r");
$file = fread($handle, filesize($file_name));
fclose($handle);

echo $file;
?>

```

The browser should output the content of the .csv file, like when I assign the $file\_name manually.