mathceleb
05-02-2011, 03:07 PM
I am trying to write a csv file to a windows7 directory.
C:\Users\mathceleb\Desktop\CUI05_02_09_01.csv
$handle = fopen($output_file_name, 'w+');
This is what comes out as my $output_file_name parameter. I also checked Microsoft Excel and the directory is listed exactly like this as well if I open the file.
This is not working. However, when I remove the output path portion and just have the filename, the file writes and exports correctly.
I checked Google and did not find much. Any thoughts?
C:\Users\mathceleb\Desktop\CUI05_02_09_01.csv
$handle = fopen($output_file_name, 'w+');
This is what comes out as my $output_file_name parameter. I also checked Microsoft Excel and the directory is listed exactly like this as well if I open the file.
This is not working. However, when I remove the output path portion and just have the filename, the file writes and exports correctly.
I checked Google and did not find much. Any thoughts?