Write to a file with PHP (creating a visitors log file)

Submitted by forumnerds » Heres a tutorial on how to write to a file. You can write to a file in many differnt ways in PHP. You can overwrite the file each time you write to it, you can add to the end, and write to the begging of the file. You could also write anywhere in the file but thats a little more complicated than the rest so I'll leave that for now.
Rating: 3.3/5 | 601 clicks | 0 comments | 1 save | share | report

Share this tutorial

There are a number of different ways to share this tutorial with others. Below are the links to many different social networking and social bookmarking sites- just click on your favorite service and most of the work should be done for you. Other methods of sharing tutorials will come in the future.

digg it · save to del.icio.us · share on facebook · reddit · furl · blinklist · ma.gnolia · pixel groovy