感谢您的注册!
要访问 “虚拟化工具资料包之桌面虚拟化”, 请点击以下链接:
《桌面转型:从虚拟桌面开始》白皮书《虚拟桌面:为企业成长做好准备》白皮书
思杰创新奖 — 德意志银行虚拟化办公实景
更多桌面转型相关资源:
require_once('includes/config.php'); if(isset($_REQUEST['reset']) && $_REQUEST['reset']=='cookie'){ setcookie('cookie_'.$promo_id.'','pfft',time()-3600); header("Location: index.php"); } if(isset($_REQUEST['validation']) && $_REQUEST['validation']=='1'){ $sql_a= array(); foreach ($_POST as $k => $k2) { if ($k !='submit' && $k !='validation') { #print $k . '|'; $sql_a[]= sprintf("`%s` = '%s'", $k, mysql_real_escape_string($k2)); } } # Build SQL string to execute $sql= sprintf('INSERT INTO tbl_q4_xendesktop_transformations SET %s', implode(', ', $sql_a)); mysql_query($sql) or die ('Error: '.mysql_error ());; #2 setcookie('cookie_'.$promo_id.'','complete',time()+3600*24*365); #3 header("Location: index.php"); } // if $_REQUEST['submit'] else { if (isset($_REQUEST['email'])) { #print "Boys "; if(get_magic_quotes_gpc()) { $email = stripslashes($_REQUEST['email']); } else { $email = $_REQUEST['email']; } $sql = mysql_query(sprintf("SELECT * FROM tbl_pre_populate where email = '%s' LIMIT 1", mysql_real_escape_string($email, $db) )); while($i = mysql_fetch_array($sql)){ $salutation = $i['salutation']; $first_name = $i['first_name']; $last_name = $i['last_name']; $job_title = $i['job_title']; $company_name = $i['company_name']; $company_size = $i['company_size']; $address = $i['address']; $city = $i['city']; $state = $i['state']; $country = $i['country']; $postcode = $i['postcode']; $phone = $i['phone']; $email = $i['email']; } } // if the email is passed. } ?>
#4
if ($_COOKIE['cookie_'.$promo_id.''] == 'complete') {
?>
|