I'm trying to get data from a file that is stored on the users computer c:\Report.csv
This is hte code.
$filename = 'C:\\Report.csv';
$handle = fopen ($filename, 'rb');
// Test of Explode
$line = fread ($handle,2025);
$part = explode ('"',$line);
echo '<br><br><br><br>';
echo $part[49];
I get the following error:
Warning: fopen("C:\Report.csv", "rb") - No such file or directory in /home/sysfrog/public_html/Totland/standardbrev/prove.php on line 24
Line 24 is $handle.....
I'm using a unix server.
Why does this work on a Win server and not unix?!?
Kj.