Hello!

I am having trouble when trying the following:

The webserver is running php version 4.4.0, with safe_mode activated. In my trials to export data into either .csv or .xls format (tried a bunch of solutions but they either take waaay too long or they block the server resources) I wanted to try writing to a .txt file from shell, by using

Code:
echo some text >> /path/to/file.txt
.

When executing shell commands in php with safe_mode on, you have to copy the command files (or whatever they are) to php's safe_mode_exec_dir. I have copied echo in the exec_dir, but the command listed above has no effect (although it works when I run it in shell directly). Any thoughts about how I could fix this are appreciated.