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.
- default: script can be run from command line;
to run from web you need to be logged in as a particular user.
(in addition to .htaccess protection).
- if include $cli_only at start of script:
can only be run from the command line.
- if include $skip_auth_ops at start of script:
can run from web without being logged in
(this is set ONLY in login_action.php)
- admin web: added $cli_only = true to a bunch of scripts
svn path=/trunk/boinc/; revision=19230
informing the project admin that they need to be explicitly edited to
enable updating the database. This will help prevent inadvertent use.
Thanks to David Hammer.
svn path=/trunk/boinc/; revision=5373
choice selection menus
- Ops pages fixes from Christian Beers and David Hammer:
* some rearrangement of index page
* fix pass percentage by platform pages to show only non-deprecated apps
* all platforms now appear in summary pages of failures
svn path=/trunk/boinc/; revision=5351
when creating user account from Administrator form, and lower_case email address
before inserting into database. Added script make_emails_lowercase.php which
goes through user database and changes email addresses to lowercase, and sets CPID
to a random string if it is currently 0 (empty). It should be safe to run this
script any number of times, on a damanged or undamaged user database, with no side
effects.
svn path=/trunk/boinc/; revision=4596