Jump to content

how to save php output as log.txt?


ShivaGupta

Recommended Posts

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?

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.