Deprecated: Function ereg_replace() is deprecated in /mnttu/webfs2/base/i/infwww/public_html/ejournals/ejournals.php on line 30

Deprecated: Function split() is deprecated in /mnttu/webfs2/base/i/infwww/public_html/ejournals/require/require.inc on line 4

Strict Standards: Only variables should be passed by reference in /mnttu/webfs2/base/i/infwww/public_html/ejournals/require/require.inc on line 4

Deprecated: Function split() is deprecated in /mnttu/webfs2/base/i/infwww/public_html/ejournals/require/require.inc on line 6

Strict Standards: Only variables should be passed by reference in /mnttu/webfs2/base/i/infwww/public_html/ejournals/require/require.inc on line 6
"; } } function sqltidy ($sql) { $sql = str_replace ("'", "''", $sql); $sql = str_replace ("\'", "'", $sql); return $sql; } function sql_is_working() { global $connection; if ($connection === false) { return false; } elseif (isset($_SESSION["administrator"])) { return true; } elseif (isset($_SESSION["noredir"])) { return true; } else { return false; } } /* NAME : sql.php. AUTHOR : Matt Fullwood. (mtf@aber.ac.uk) DATE CREATED : 15th January 2004. DATE LAST ALTERED : 17th August 2006. PURPOSE : SQL Functions. TO DO : None. 17th August 2006 1) Initial release 2) Removed the sqlnolog function - not being used 3) Made new function sqllog, and pass any sql query to this for logging, rather than in the sql function 4) Fixed all functions to correctly pass the sql handle to the sqlerror function 5) Change the sqlerror function to report errors if the administrator has '1' set in his error column on joeyadministrators 6) Made misc changes to the layout and printerrored to all administrators, rather than just mtf */ ?> "; exit; } } function cachedelete () { foreach (glob ("cache/*.cache") as $filename) unlink ($filename); } ?>
Deprecated: Function split() is deprecated in /mnttu/webfs2/base/i/infwww/public_html/ejournals/require/require.inc on line 41

Strict Standards: Only variables should be passed by reference in /mnttu/webfs2/base/i/infwww/public_html/ejournals/require/require.inc on line 41

Warning: Cannot modify header information - headers already sent by (output started at /mnttu/webfs2/base/i/infwww/public_html/ejournals/require/sql.inc:159) in /mnttu/webfs2/base/i/infwww/public_html/ejournals/ejournals.php on line 45