Welcome Guest, Not a member yet? Register   Sign In
[Solved] Saving Temp File Outside of Doc Root
#3

[eluser]CoffeeBeanDesign[/eluser]
Thanks for the reply. I've changed to the file helper which is simpler. I now have :

Code:
$filename = 'myfile.xls';

write_file($filename, $table);

$this->email->attach($filename);

... Email Stuff ...

delete_files($filename);

... It is writing the file in the correct place but not deleting it, is it a permissions thing??


Messages In This Thread
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-15-2009, 03:03 PM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-15-2009, 03:32 PM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-16-2009, 12:51 AM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-16-2009, 03:24 AM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-16-2009, 03:24 AM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-16-2009, 03:30 AM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-16-2009, 03:50 AM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-16-2009, 03:54 AM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-16-2009, 04:09 AM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-16-2009, 06:54 AM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-16-2009, 10:20 PM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-17-2009, 01:14 AM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-17-2009, 01:39 AM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-17-2009, 11:19 PM
[Solved] Saving Temp File Outside of Doc Root - by El Forum - 08-18-2009, 03:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB