I have a script which uploads a tab delimited file and this works fine on my localhost but when run on my domain host returns the following error
fopen(uploads/05112008_212139_foo.txt ) [function.fopen]: failed to open stream: No such file or directory
The line of code responsible is
$fp = fopen("uploads/$file ", "r");
which as I said runs fine on my localhost which mirrors the domain setup regarding folders etc.
The file in question does exist in the uploads folder having been moved there by the script so I am at a loss to know why it cant be found.
All help, hints, advice etc gratefully received.