ShivaGupta Posted August 13, 2013 Share Posted August 13, 2013 how to save php output as log.txt? plz give any example .tryed myselfe but no luck. Quote Link to comment Share on other sites More sharing options...
requinix Posted August 13, 2013 Share Posted August 13, 2013 You really need to learn how to ask a question. So I'm going to ask some for you: What are you talking about? What is the purpose? What is your code so far? What happens when you execute your code? What did you want it to do? Do you get any error messages? Have you tried debugging the code yourself yet? Do you have any specific questions? What have you done to try to answer those questions yourself? What did you search for and what did you find? What potential solutions did you try, or why didn't you try any? What was wrong with those solutions that they did not solve your problem? Quote Link to comment Share on other sites More sharing options...
Solution cyberRobot Posted August 13, 2013 Solution Share Posted August 13, 2013 Have you looked into fwrite()? http://us3.php.net/manual/en/function.fwrite.php You could also look at some of the other file functions found here: http://us3.php.net/manual/en/ref.filesystem.php If you need help saving things to a text file, there may be something for you here: https://www.google.com/search?q=save+php+output+to+file 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.