Changeset 11599 for trunk/www/db_po/insert_po.php
- Timestamp:
- 07/26/11 10:51:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/db_po/insert_po.php
r11505 r11599 46 46 if (empty($_GET["fOriginalIndex"])) 47 47 $_GET["fOriginalIndex"]=""; 48 48 if (empty($_GET["fMin"])) 49 $_GET["fMin"]=""; 50 if (empty($_GET["fMax"])) 51 $_GET["fMax"]=""; 52 53 if (empty($_SERVER['PHP_AUTH_USER'])) 54 { 55 // be careful, this output is evaluated by UpdateRow() in po.js 56 echo "user empty"; 57 return; 58 } 49 59 include("db.php"); 50 60 $db_id = mysqli_connect($host, $user, $pw, $db); … … 142 152 if (!empty($_GET["fOriginalIndex"])) 143 153 $query0.=", fOriginalIndex='".$_GET["fOriginalIndex"]."'"; 154 if (!empty($_GET["fMin"])) 155 $query0.=", fMin='".$_GET["fMin"]."'"; 156 if (!empty($_GET["fMax"])) 157 $query0.=", fMax='".$_GET["fMax"]."'"; 158 $query0.=", fUser='".$_SERVER['PHP_AUTH_USER']."'"; 144 159 $query0.=", fKey1='".$_GET["fKey1"]."'"; 145 160 $query0.=", fKey2='.".$_GET["fKey2"]."'";
Note:
See TracChangeset
for help on using the changeset viewer.