Logging
Logging processes with PHP
Rabu, 7 Desember 2011
Its sometimes necessary as a developer to log and track data as it is processed either to debug or to keep a simple record of maybe who's logged in or out of your site. You could easily do this by accessing a MySQL database and adding a row, but you then have to create and maintain that database. So today I'm going to run through the steps to writing and reading a .txt log file.The Code
In order to write and access our log file we will be using the php functions fopen() fwrit...
Logging processes with PHP
Selasa, 29 November 2011
Its sometimes necessary as a developer to log and track data as it is processed either to debug or to keep a simple record of maybe who's logged in or out of your site. You could easily do this by accessing a MySQL database and adding a row, but you then have to create and maintain that database. So today I'm going to run through the steps to writing and reading a .txt log file.The Code
In order to write and access our log file we will be using the php functions fopen() fwrit...