Ok have a text file "counter.txt" installed in the same directory as my .php script

Here's the code that is being lame

Code:
$datafile = "/count.txt";
$imgset = 3;
$counter_digits = 6;

$file = fopen($datafile, "r");
It's erroring out on the fopen statement saying it can't locate the file ...... have also tried $datafile = "count.txt"

Thanks in advance ....