Made to work with magic quotes on or off.
[openemr.git] / interface / vektis / vk_save.php
blob5a7eec31d4ee0e3e7f30b2feadc5580182e18c69
1 <?php
2 /**
3 * VEKTIS
5 * @author Cristian NAVALICI
6 * @version 1.0 feb 2008
8 */
10 require_once("../globals.php");
11 require_once("$srcdir/acl.inc");
13 // Check authorization.
14 $thisauth = acl_check('admin', 'vektis');
15 if (!$thisauth) die("Not authorized.");
17 // ===============================
18 // commiting to the database the send file content
19 if ( $_POST['comdb'] ) {
20 vk_db_commit();
21 echo 'The informations were commited to database. Press <a href="vk_main.php" target="Main">here</a> to return to the Vektis main menu.';
24 // EOS
25 // ===============================
28 <html>
30 <head>
32 <link rel=stylesheet href='<?php echo $css_header ?>' type='text/css'>
33 <title>Vektis Administration</title>
34 </head>
36 <body <?php echo $top_bg_line;?>>
38 </body>
39 </html>