Jump to content

how to save php output as log.txt?


ShivaGupta
Go to solution Solved by cyberRobot,

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?

Link to comment
Share on other sites

  • Solution

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.