From d87fa935036d717b782684f151001c8ae583ae32 Mon Sep 17 00:00:00 2001 From: "Janus B. Kristensen" Date: Mon, 11 Jun 2007 18:27:24 +0000 Subject: [PATCH] Common code for checks used in both the tracker and the scrape mechanism. svn path=/trunk/boinc/; revision=12885 --- html/bt/inc/checks.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 html/bt/inc/checks.php diff --git a/html/bt/inc/checks.php b/html/bt/inc/checks.php new file mode 100644 index 0000000000..8351f3eaf5 --- /dev/null +++ b/html/bt/inc/checks.php @@ -0,0 +1,18 @@ + ".time()); echo mysql_error(); + if (mysql_num_rows($queryHandle)){ + return true; + } else { + return false; + } +} + +?> \ No newline at end of file