baseline 7.4 as-is produzione
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php␍
|
||||
# FileName="WADYN_MYSQLI_CONN.htm"␍
|
||||
# Type="MYSQL"␍
|
||||
# HTTP="true"␍
|
||||
$hostname_cmctrfdb = "localhost";␍
|
||||
$database_cmctrfdb = "dbcov4clvrmrzn";␍
|
||||
$username_cmctrfdb = "u00wiumd4xnrd";␍
|
||||
$password_cmctrfdb = "ukowysga7w5x";␍
|
||||
␍
|
||||
$servername = $hostname_cmctrfdb;␍
|
||||
$username = $username_cmctrfdb;␍
|
||||
$password = $password_cmctrfdb;␍
|
||||
$dbname = $database_cmctrfdb;␍
|
||||
␍
|
||||
@session_start();␍
|
||||
␍
|
||||
$cmctrfdb = mysqli_init();␍
|
||||
if (defined("MYSQLI_OPT_INT_AND_FLOAT_NATIVE")) $cmctrfdb->options(MYSQLI_OPT_INT_AND_FLOAT_NATIVE, TRUE);␍
|
||||
$cmctrfdb->real_connect($hostname_cmctrfdb, $username_cmctrfdb, $password_cmctrfdb, $database_cmctrfdb) or die("Connect Error: " . mysqli_connect_error());␍
|
||||
␍
|
||||
?>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php␍
|
||||
# FileName="WADYN_MYSQLI_CONN.htm"␍
|
||||
# Type="MYSQL"␍
|
||||
# HTTP="true"␍
|
||||
$hostname_cmctrfdb = "localhost";␍
|
||||
$database_cmctrfdb = "acscuips_cmcdb";␍
|
||||
$username_cmctrfdb = "acscuips_cmc";␍
|
||||
$password_cmctrfdb = "HcU4gm6zzx=~";␍
|
||||
@session_start();␍
|
||||
␍
|
||||
$cmctrfdb = mysqli_init();␍
|
||||
if (defined("MYSQLI_OPT_INT_AND_FLOAT_NATIVE")) $cmctrfdb->options(MYSQLI_OPT_INT_AND_FLOAT_NATIVE, TRUE);␍
|
||||
$cmctrfdb->real_connect($hostname_cmctrfdb, $username_cmctrfdb, $password_cmctrfdb, $database_cmctrfdb) or die("Connect Error: " . mysqli_connect_error());␍
|
||||
␍
|
||||
?>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php␍
|
||||
include('include/headscript.php'); ?>␍
|
||||
<?php␍
|
||||
␍
|
||||
$country_id = mysqli_real_escape_string($_POST['idarticletype']);␍
|
||||
if($idarticletype!='')␍
|
||||
{␍
|
||||
$states_result = $conn->query('select * from modelarticle where idarticletype='.$idarticletype.'');␍
|
||||
$options = "<option value=''>Select State</option>";␍
|
||||
while($row = $states_result->fetch_assoc()) {␍
|
||||
$options .= "<option value='".$row['idmodelarticle']."'>".$row['namemodelarticle']."</option>";␍
|
||||
}␍
|
||||
echo $options;␍
|
||||
}?>
|
||||
Reference in New Issue
Block a user