0) $strPost=$strPost . "&ReferrerID=" . $strPartnerID; $strPost=$strPost . "&Amount=" . number_format($sngTotal,2); // Formatted to 2 decimal places with leading digit $strPost=$strPost . "&Currency=" . $strCurrency; // Up to 100 chars of free format description $strPost=$strPost . "&Description=" . $description .' '. $strVendorName; /* The SuccessURL is the page to which Form returns the customer if the transaction is successful ** You can change this for each transaction, perhaps passing a session ID or state flag if you wish $strPost=$strPost . "&SuccessURL=" . $strYourSiteFQDN . $strVirtualDir . "/orderSuccessful.php";*/ $strPost=$strPost . "&SuccessURL=http://www.m2m-magazine.com/directory-payment-sucessful/"; /* The FailureURL is the page to which Form returns the customer if the transaction is unsuccessful ** You can change this for each transaction, perhaps passing a session ID or state flag if you wish */ $strPost=$strPost . "&FailureURL=http://www.m2m-magazine.com/your-order-has-not-been-successful/"; // This is an Optional setting. Here we are just using the Billing names given. $strPost=$strPost . "&CustomerName=" . $CustomerName; /* Email settings: ** Flag 'SendEMail' is an Optional setting. ** 0 = Do not send either customer or vendor e-mails, ** 1 = Send customer and vendor e-mails if address(es) are provided(DEFAULT). ** 2 = Send Vendor Email but not Customer Email. If you do not supply this field, 1 is assumed and e-mails are sent if addresses are provided. **/ if ($bSendEMail == 0) $strPost=$strPost . "&SendEMail=0"; else { if ($bSendEMail == 1) { $strPost=$strPost . "&SendEMail=1"; } else { $strPost=$strPost . "&SendEMail=2"; } if (strlen($strCustomerEMail) > 0) $strPost=$strPost . "&CustomerEMail=" . $strCustomerEMail; // This is an Optional setting if (($strVendorEMail <> "[your e-mail address]") && ($strVendorEMail <> "")) $strPost=$strPost . "&VendorEMail=" . $strVendorEMail; // This is an Optional setting // You can specify any custom message to send to your customers in their confirmation e-mail here // The field can contain HTML if you wish, and be different for each order. This field is optional $strPost=$strPost . "&eMailMessage=Thank you so very much for your order."; } // Billing Details: $strPost=$strPost . "&BillingFirstnames=" . $strBillingFirstnames; $strPost=$strPost . "&BillingSurname=" . $strBillingSurname; $strPost=$strPost . "&BillingAddress1=" . $strBillingAddress1; if (strlen($strBillingAddress2) > 0) $strPost=$strPost . "&BillingAddress2=" . $strBillingAddress2; $strPost=$strPost . "&BillingCity=" . $strBillingCity; $strPost=$strPost . "&BillingPostCode=" . $strBillingPostCode; $strPost=$strPost . "&BillingCountry=" . $strBillingCountry; if (strlen($strBillingState) > 0) $strPost=$strPost . "&BillingState=" . $strBillingState; if (strlen($strBillingPhone) > 0) $strPost=$strPost . "&BillingPhone=" . $strBillingPhone; // Delivery Details: $strPost=$strPost . "&DeliveryFirstnames=" . $strDeliveryFirstnames; $strPost=$strPost . "&DeliverySurname=" . $strDeliverySurname; $strPost=$strPost . "&DeliveryAddress1=" . $strDeliveryAddress1; if (strlen($strDeliveryAddress2) > 0) $strPost=$strPost . "&DeliveryAddress2=" . $strDeliveryAddress2; $strPost=$strPost . "&DeliveryCity=" . $strDeliveryCity; $strPost=$strPost . "&DeliveryPostCode=" . $strDeliveryPostCode; $strPost=$strPost . "&DeliveryCountry=" . $strDeliveryCountry; if (strlen($strDeliveryState) > 0) $strPost=$strPost . "&DeliveryState=" . $strDeliveryState; if (strlen($strDeliveryPhone) > 0) $strPost=$strPost . "&DeliveryPhone=" . $strDeliveryPhone; $strPost=$strPost . "&Basket=" . $strBasket; // As created above // For charities registered for Gift Aid, set to 1 to display the Gift Aid check box on the payment pages $strPost=$strPost . "&AllowGiftAid=0"; /* Allow fine control over AVS/CV2 checks and rules by changing this value. 0 is Default ** It can be changed dynamically, per transaction, if you wish. See the Server Protocol document */ if ($strTransactionType!=="AUTHENTICATE") $strPost=$strPost . "&ApplyAVSCV2=0"; /* Allow fine control over 3D-Secure checks and rules by changing this value. 0 is Default ** It can be changed dynamically, per transaction, if you wish. See the Form Protocol document */ $strPost=$strPost . "&Apply3DSecure=0"; // Encrypt the plaintext string for inclusion in the hidden field $strCrypt = encryptAndEncode($strPost); $linker='/analyst-whitepaper-and-webinar/'; /* VendorTxCode=weknowmedia-121017150551-246886268 &Amount=0.00 &Currency=GBP &Description= &SuccessURL=http://m2mnowevents.com/registration-successful/ &FailureURL=http://m2mnowevents.com/registration-failed/ &CustomerName= &SendEMail=1 &CustomerEMail= &VendorEMail=m.szelezin@wkm-global.com &eMailMessage=Thank you very much for your order. &BillingFirstnames= &BillingSurname= &BillingAddress1= &BillingAddress2= &BillingCity= &BillingPostCode= &BillingCountry= &BillingState= &BillingPhone= &DeliveryFirstnames= &DeliverySurname= &DeliveryAddress1= &DeliveryCity= &DeliveryPostCode= &DeliveryCountry= &Basket=1:Delivery:1:0:---:0:0 &AllowGiftAid=0 &ApplyAVSCV2=0 &Apply3DSecure=0 */ if (isset($descrip) && !isset($strPageError)) { //database connection include 'conection.php'; $error=array(); if(!empty($_POST['delegates'])){ $klucze = array('vendorTxCode','Amount','Currency','Description','Entrysource','CustomerName','CustomerEMail','BillingFirstnames','BillingSurname','Company','Title','BillingAddress1','BillingAddress2','BillingCity','BillingPostCode','BillingCountry','BillingPhone');//klucze foreach($_POST as $key => $row){ if(isset($klucze[$key]) && empty($row)){ $error[$key] = 'Please fill in all required fields'; } } if(!count($error)){ //zapis do bazy $sql = "INSERT INTO registrations (vendorTxCode,Amount,Currency,Description,Entrysource,CustomerName,CustomerEMail,BillingFirstnames,BillingSurname,Company,Title,BillingAddress1,BillingAddress2,BillingCity,BillingPostCode,BillingCountry,BillingState,BillingPhone,1_Additional_Firstname,1_Additional_Lastname,1_Additional_email,2_Additional_Firstname,2_Additional_Lastname,2_Additional_email,3_Additional_Firstname,3_Additional_Lastname,3_Additional_email,4_Additional_Firstname,4_Additional_Lastname,4_Additional_email,5_Additional_Firstname,5_Additional_Lastname,5_Additional_email) VALUES ('$strVendorTxCode','$sngTotal','$strCurrency','$description','$entrysource','$CustomerName','".$_POST['CustomerEMail']."','".$_POST['BillingFirstnames']."','".$_POST['BillingSurname']."','".$_POST['Company']."','".$_POST['Title']."','".$_POST['BillingAddress1']."','".$_POST['BillingAddress2']."','".$_POST['BillingCity']."','".$_POST['BillingPostCode']."','".$_POST['BillingCountry']."','".$_POST['BillingState']."','".$_POST['BillingPhone']."','".$_POST['1_Additional_Firstname']."','".$_POST['1_Additional_Lastname']."','".$_POST['1_Additional_email']."','".$_POST['2_Additional_Firstname']."','".$_POST['2_Additional_Lastname']."','".$_POST['2_Additional_email']."','".$_POST['3_Additional_Firstname']."','".$_POST['3_Additional_Lastname']."','".$_POST['3_Additional_email']."','".$_POST['4_Additional_Firstname']."','".$_POST['4_Additional_Lastname']."','".$_POST['4_Additional_email']."','".$_POST['5_Additional_Firstname']."','".$_POST['5_Additional_Lastname']."','".$_POST['5_Additional_email']."')"; mysql_query($sql); if(!mysql_error()){ //set unset ($_POST); }else{ //nie udalo sie zapisac echo "Database Error - Please try again"; } }else{ echo "Database Error - Please try again"; var_dump($error); } } mysql_close($connection); header("Location: $linker"); } ?>
Oracle IoT era webcast

ON-DEMAND ORACLE WEBCAST

With the advent of the Internet of Things significant changes and opportunities are presenting themselves for companies concerned with the automation and control of their industrial processes and facilities. As more devices are connected both together and to the core enterprise systems, the volumes of data grows exponentially, presenting new challenges for enterprises around decision making and intelligence extraction at the edge.

Java is already well established in the data center enabling and delivering core business insights. Learn how Java is enabling Tridium, a leading provider of Industrial and Building Control Systems, to deliver value and benefits to their customers, while significantly improving their own development processes and time to market.

  • Learn how the Internet of Things is transforming the Industrial & Building Control markets
  • Gain real insights on how Java delivers lower costs and higher productivity for Tridium and their customers
  • Understand the key role of the Java ecosystem to drive innovation and reducing maintenance

 

Find out more about the webcast here »

Speakers

John SublettJohn Sublett,
Chief Technology Officer
Tridium
READ MORE
Simon NicholsonSimon Nicholson,
Sr. Director, Java Product Management
Oracle
READ MORE

 

register for IoT webcast

About Tridium

Tridium, a global software and technology company, is the developer of the Niagara Framework®, a software platform that enables the integration of disparate systems and devices - regardless of manufacturer or communication protocol - into a unified platform that can be easily managed and controlled in real-time over the Internet.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close