A
Anonymous
Guest
Hi all!
I am confused as to how an old-good UNIX command, like
cat text.txt > new_tex.txt
can be used in PHP.
I tried
system (" cat text.txt > new_text.txt");
but it didn't work, the file new_text.txt was left blank.
Am I doing something wrong with the > ???
Must I use something else instead of 'system' ?
I am confused as to how an old-good UNIX command, like
cat text.txt > new_tex.txt
can be used in PHP.
I tried
system (" cat text.txt > new_text.txt");
but it didn't work, the file new_text.txt was left blank.
Am I doing something wrong with the > ???
Must I use something else instead of 'system' ?