-
-
...gt;getMessage());
}
?>将数据插入数据库include('config.php');
if(isset($_POST['submit']))
{
// getting Post values
$name=$_POST['name'];
$phoneno=$_POST['phonenumber'];
$email=$_POST['emailaddres'];
$subject=$_POST['subject'];
$message=$_POST['message'];
$uip = $_SERVER ['REMOTE...
-
-
...p; if data['success'] and data['results']['pageBean']['totalCount'] > 0:
&...
-
-
...
session_start();
//error_reporting(0);
include('includes/config.php');
if (strlen($_SESSION['aid']==0)) {
header('location:logout.php');
} else{
// Edit Company Code
if(isset($_POST['update']))
{
$cmpid=substr(base64_decode($_GET['compid']),0,-5);
//Getting Post Values
$cna...
-
-
...c;
DSSObj = actxserver('OpenDSSEngine.DSS');
if ~DSSObj.Start(0),
disp('Unable to start the OpenDSS Engine');
return
end
%Generates random loadprofiles for each load (3 loads total)
LS_LD &n...
-
-
...ssion_start();
error_reporting(0);
include('include/dbconnection.php');
if (strlen($_SESSION['pdaid']==0)) {
header('location:logout.php');
} else{
if(isset($_POST['submit']))
{
$adminid=$_SESSION['pdaid'];
$a...
-
-
...下载附件。<?php
session_start();
include("dbconnection.php");
if(isset($_POST['login']))
{
$adminusername=$_POST['username'];
$pass=md5($_POST['password']);
$ret=mysqli_query($con,"SELECT * FROM admin WHERE username='$adminusername' and password='$pass'");
$num=mysqli_f...
-
-
...tor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
private int binarySearch(int[] a, int x) {
&...
-
-
...释IE 条件注释:适用于[IE5, IE9]常见格式如下```html<!--[if IE 6]>Special instructions for IE 6 here<![endif]-->```选择器 hack:不同浏览器对选择器的支持不一样```css/***** Selector Hacks ******//* IE6 and below */* html #uno { color: red }/* IE7 */*:f...
-
-
...p
session_start();
include('includes/config.php');
error_reporting(0);
if(strlen($_SESSION['login'])==0)
{
header('location:index.php');
}
else{
if(isset($_POST['submit']))
{
$category=$_POST['category'];
$description=$_POST['description'];
$status=1;
$query=mysqli_query($con,"...
-
-
...sion_start();
error_reporting(0);
include('includes/dbconnection.php');
if (strlen($_SESSION['obcsaid']==0)) {
header('location:logout.php');
} else{
?>
<div class="left-sidebar-pro">
&l...