I am using windows and I have a csv file that I need to open via link, but when I click on the link, it give this error below. I have checked the permission on the file,it seems alright. What else can I do to correct this error:
Warning: fopen(result.csv) [function.fopen]: failed to open stream: Permission denied in C:\wamp\www\WEB\HEAVEN\websurvey\admin\csv_result.php on line 29
Line 29 is:
// open the result file for write
$csv_file = ("result.csv");
$fp = fopen($csv_file , "w");
Can anyone help.
Thanks.