PHP Timeclock / News: Recent posts

New Sponsor

Affinity4 ( is now a sponsor of PHP Timeclock and will contribute to its development.

A bug fix release of PHP Timeclock will be released shortly. An additional release will be made in the next week or two that will contain several enhancements, including the much wanted LDAP support. If you have features that you want or bugs to report, please post them in the appropriate tracker so we can fit them in.... read more

Posted by Jacob Allred 2007-11-15

Thanks Ken!

Thanks Ken, for providing a solid base to work with! Ken has passed on a list of names who responded to the help wanted ad, I'll be contacting you all shortly.

Posted by BlueNoteMKVI 2006-07-15

PHP Timeclock has a new Admin

PHP Timeclock has a new project Admin, bluenotemkvi. He is taking over as I no longer have the time or the will to keep up with the pace of development that this project deserves. My personal and work life have become more and more demanding of my time every day (hey, who's hasn't, right?), and I will miss working on the development of PHP Timeclock, but it's time for someone else to takeover its' development, management, and administration. ... read more

Posted by pappyzan 2006-07-12

PHP Timeclock 1.03 Bugfix Release

This bug fix release resolves issues with the Audit Log and Total Hours reports.

Posted by pappyzan 2006-06-20

PHP Timeclock 1.02 released

This release includes a few minor bug fixes and a few minor enhancements.
These bug fixes and enhancements are outlined in the CHANGELOG.

Posted by pappyzan 2006-06-05

Next release might be my last

version 1.02 is planned to be released sometime next week, and will be the next to last or maybe the last release i plan on making. if it's NOT the last release, then the only changes made to the last release would only involve the addition of an install script.

i've enjoyed working on this project over the past couple of years, but now i just don't have the time or the will to devote to the project as i've had in the past. please feel free to continue to post questions and comments to the forums, as i and others might be able to help and assist.... read more

Posted by pappyzan 2006-06-02

PHP Timeclock 1.01 released

This release includes 5 minor bug fixes and a few minor enhancements.
These bug fixes and enhancements are outlined in the CHANGELOG.

Posted by Anonymous 2006-03-23

PHP Timeclock 1.0 released

Version 1.0 of PHP Timeclock has been released, with many new enhancements, including:

1. Dates and times can be displayed in many various different formats throughout the app.
2. Reports can be run to total users' time for a given period of time.
3. Users can be designated to different offices and groups.
4. Users can be setup as a Sys Admin, a Time Admin, and/or a Reports user.
5. A new look and a more intuitive administrative piece.... read more

Posted by Anonymous 2006-03-06

PHP Timeclock

A new release of PHP Timeclock is scheduled for the end of the year or maybe sometime in January. It will include many updates and enhancements, including a new look.


Posted by Anonymous 2005-11-11

PHP Timeclock 0.9.4-1 released (bug fix)

PHP Timeclock Changelog

0.9.4-1 5/27/05
--- Fixed a bug in the time report - if the "To" and "From" dates were the same,
either no punch-in/out times would display, or just some of the times would display.
--- Fixed a bug in displaying the punch-in/out times on the main page if
$show_current_users_only was set to "yes" in Either none of the
times would display, or just some of the times would display.
--- This bug was also found when attempting to change a user's time.
--- Added "This script also makes other minor changes to the database." to the database
upgrade script description in dbupgrade.php.

Posted by Anonymous 2005-05-27

PHP Timeclock 0.9.4 re-released

The bug that appeared when posting time has been found and is fixed, and 0.9.4 is now re-released.

ken papizan

Posted by Anonymous 2005-05-24

PHP Timeclock 0.9.4 PULLED!

there's a serious bug when posting time in this release. will fix and post new version when this is taken care of.

ken papizan

Posted by Anonymous 2005-05-24

PHP Timeclock 0.9.4 released

PHP Timeclock Changelog

0.9.4 5/24/05
--- Required the use of at least version 4.1.0 of PHP. This was done to move from the
use of long PHP predefined variable arrays ($HTTP_*_VARS) to PHP superglobal
variable arrays ($_*), which were introduced in PHP 4.1.0. With PHP5's ability
to disable the ($HTTP_*_VARS) arrays using 'register_long_arrays=Off' in php.ini,
i felt it was time to make the switch everywhere in the code.
--- Changed the way time was being stored in the database from a mysql timestamp to a
unix timestamp. This provides the ability to utilize timezone functionalities
and quite possibly other functions for future use.
--- Added a database upgrade script within the app, dbupgrade.php. You can now
choose to upgrade the database via the command line using the mysql statments
included in upgrade_database.sql (as you could have always done), or go to the
administration section of the app and choose to upgrade the db from there. FOR
because of the need to convert all of your current mysql timestamps into unix
timestamps. Yes, you CAN do this without the script, but the script also takes
into account the timezone of the server so the new unix timestamps will be stored
in GMT.
--- Added the ability to display punch-in/out times in 3 different ways:
1) times can now be displayed according to the end user's timezone. This is done
with the use of javascript and the addition of a cookie to the user's system.
2) times can be displayed according to the web server's timezone. This is the way
times in all previous versions of the distribution have been displayed (it is
also the default setting of this release).
3) times will be displayed in GMT if neither of the two above options are chosen.
This is set in
--- Added an option to display current, local weather stats. This is done with code
from the PHP Weather project by Martin Geisler and others. PHP Weather is
licensed under the GPL.
--- When printing the main page or the time report, the date and time it is run is
reflected according to how you chose to display your punch-in/out times via, instead of just assuming you want to use the timezone of the
webserver. This affects ONLY the printouts of these pages.
--- Removed the $time_entry_title variable in and stuffed it into
timereport.php. All this variable did was provide an easy way to change the time
report title.
--- Removed the $left_side_width variable in This variable set the width
for the left side of each page. The value for this variable has now been hard-coded
into leftmain.php.
--- Combined leftmain.php and timeclack.php into one file, leftmain.php.
--- Fixed a bug where the wrong time and date were being reported in an error message
when a user's time was changed.
--- Performed general code cleanup on a number of files.

Posted by Anonymous 2005-05-24

PHP Timeclock 0.9.3 released

PHP Timeclock Changelog

0.9.3 03/21/05
--- Added the ability to change a user's time entry in the administration section.
--- When notes are included in a user's time entry, they are input into the database in
all lowercase, instead of just being displayed on the screen as lowercase. They were
being strung to lowercase on the screen after they were entered into the database,
but they are now instead input into the database as lowercase. This is almost
not worth mentioning, but it is a minor change, thus it's here in the changelog.
--- Renamed the Employee Report to Time Report, and added the option to run this report
for all usernames. Doing this negated the need for having the Monthly Report,
Today's Report, and Date Report. These reports have been removed.
--- Moved the Timeclock Admin link to from the left side of the page to the far right
part of the topbar and renamed it to Administration.
--- Combined topmain.php and topmain_alt.php into one file, and removed topmain_alt.php.
--- Fixed a formatting problem on the home page and the reports where the rows of data were
displaying a couple of spaces more to the left than the column headings. Fixing this
also fixed an odd bug where if you refreshed the home page repeatedly, the rows of
data would sometimes be extremely out of line with the column headings.
--- Added some security to all form fields by disallowing certain characters to be used
when filling in those fields.
--- Limited the size of the form fields to match the size of the corresponding fields in
the database.
--- Removed the $fqdn option in as it was pretty much a useless option
anyway. It was a variable to provide a fully qualified domain name for the path to the
distribution files.
--- Removed the $move_reports option in and replaced it with
$use_reports_password, an option to require a username and password to view the
--- Added a username and password option in to give some users the ability
to view the reports, but not access anything else in the admin section. These variables are
set in with the $reports_username and $reports_password variables. This
is not the best way to allow authentication when accessing the reports, but it is one
of the easiest. Another way of accomplishing the same goal is adding a 'groups' field
in the db and assigning everyone to a group and requiring authentication via the users'
username and password. I do not want to implement it this way at this time.
--- Added the ability to display only the current day's activity on the front page instead
of the last entry from each user. This is done with the $show_current_users_only
option in

Posted by Anonymous 2005-03-21

PHP Timeclock 0.9.2 released

PHP Timeclock Changelog

0.9.2 11/15/04
--- Fixed timeclack.php so a php information message wouldn't occur if $use_passwd was set
to "no" in
--- Added the option to move all reports to the administration section. If $move_reports
is set to "yes" in, then the reports are moved to the administration
section of the app.
--- Moved the $use_passwd, $admin_username, $admin_passwd options in
from the 'required changes' section to the 'optional changes' section.
--- Removed the $website and $domain_name variables in These were variables
for your website link and name in the bottom left of each page. They were removed for
aesthetic reasons.
--- Added the word 'New' to the 'Password(s)' column heading in chngpasswd.php. The heading
now reads 'New Password(s)' instead of 'Password(s)'.
--- Fixed the 'Notes' column on all pages to align more to the left instead of centering
itself in the middle of the column.
--- Added better printing functionality for IE (Internet Explorer 4.x and higher) via css
for the reports. The reports still print unter Mozilla/Firefox, they're just not
formatted as nicely with the column headings on each page.

Posted by Anonymous 2004-11-15

PHP Timeclock 0.9.1-1 released (bug fix).

Fixed a bug where headers were sometimes being sent twice.

Posted by Anonymous 2004-11-01

PHP Timeclock 0.9.1 released

PHP Timeclock Changelog

0.9.1 10/26/04
--- Added the option to use passwords for submitting an employee's status.
The php crypt() function is used for this. Unfortunately, doing it this way forces
you to add users with passwords and/or change passwords using ONLY this app or some
other php script using the crypt() function. Adding passwords directly into the
mysql database will not work. This option is set in with the
$use_passwd variable.
--- Added a field named 'employee_password' to the employees table. If "none" is chosen
for $use_passwd in, then this field is ignored.
--- Added a password blank in leftmain.php if $use_passwd = "yes" in
--- Added a Timeclock Administration section which contains scripts to add/delete users
and to change users' passwords. This section is password protected.
--- Added an admin username and password for the Timeclock Administration section. These
variables are set in with the $admin_username and $admin_password
--- Added the option to change the width of leftmain.php (the section where you sign-in).
This is added only to make the width easier to change, in case you have a few
usernames that are so long that they're wider than the current setting.
This option is set in with the $left_side_width variable.
--- Removed the $index variable in This was a variable for your index
page. It provided no extra functionality unless you wanted to have a different
index page.
--- Changed the default example links for the $links variable in to
all point to They were pointing to http://111/, http://222/, up to
--- Combined daterptinfo.php and daterpt.php into one page, did the same for employeerpt.php
and employeerptinfo.php, currmonthrpt.php and currmonthrptinfo.php, todayrpt.php and
todayrptinfo.php, current_status.php and timeclock.php.
--- Removed alink and avisited classes from default.css, as they were not being used
anywhere in the code anyway.
--- Rewrote the code so it wouldn't matter if register_globals or magic_quotes_gpc are
enabled/disabled in your php.ini.

Posted by Anonymous 2004-10-28

PHP Timeclock 0.9 released

This is the first stable release of PHP Timeclock. It is a web-based application based on php and mysql. It
replaces the need to have a manual/written sign-in/sign-out sheet or a timeclock or punchclock. It is updated instantly and will refresh every 5 minutes (can be changed) showing you everyone's current status. A notes field is provided to give a good desctiption of everyone's current status. it can be used so everybody will know where everyone is when a client or family member calls.... read more

Posted by Anonymous 2004-10-14