Commit Graph

3 Commits

Author SHA1 Message Date
David Anderson 3abed383e5 web PHP code: use mysqli everywhere if available
Change all the PHP code to use _mysql_query() instead of mysql_query()
(and similar for other functions).
_mysql_query() uses the mysqli API if available, else the old API.

Going forward, all PHP code should the DB abstration layer if possible;
else it should use the _mysql_* functions.
2014-09-04 12:00:09 -07:00
David Anderson 9baf78fe5f - web: added copyright and license info to PHP files
svn path=/trunk/boinc/; revision=15758
2008-08-05 22:43:14 +00:00
Reinhard Prix 3cc5bae558 checkin for Bernd Machenschalk:
This adds a new link to the OPS page called "List all-error Workunits".
The php script it calls scans the database for Workunits that got at
least min_quorum+1 (number can be configured withing the script)
client errors returned and no successful result (yet). The idea is to
detect problems in the workunit generation or data files.
Scanning the whole result table the script stresses the database a bit,
so some caching has been incorporated (300 sec by default).

svn path=/trunk/boinc/; revision=11250
2006-10-05 12:43:29 +00:00