Xu Wei Jie Posted March 18, 2009 Share Posted March 18, 2009 Currently, I am doing this to my file $output="test.txt"; system("php x.php > $output",$retval); This will overwrite it simply every time. How do I make it append using system()? TIA Quote Link to comment Share on other sites More sharing options...
samshel Posted March 18, 2009 Share Posted March 18, 2009 try system("php x.php >> $output",$retval); Quote Link to comment Share on other sites More sharing options...
Xu Wei Jie Posted March 18, 2009 Author Share Posted March 18, 2009 It works. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.