Closed salarmehr closed 9 years ago
Thanks for the wonderful code.
This line of code cause exception on Windows
$temp_dir = '/tmp' . DIRECTORY_SEPARATOR . 'PHPExport_' . rand( 1, 9999 );
I guess you should check the current OS and use %temp% on windows.
%temp%
Thank you for that issue, gonna fix this today in the evening.
Changed this line to use the sys_get_temp_dir() function which is OS-sensitive. Tagged v0.2
sys_get_temp_dir()
Thanks for the wonderful code.
This line of code cause exception on Windows
I guess you should check the current OS and use
%temp%
on windows.