Index function.mcrypt module is block mode function.sesam num fields function.cpdf closepath stroke function.yp err string function set border style function set char spacing function.ldap get values function.gmp add function.msql tablename function.gmp jacobi |
[ Pobierz całość w formacie PDF ] .cybermut_testmacPodręcznik PHPPoprzedniNastępnycybermut_testmac (PHP 4 >= 4.5)cybermut_testmac -- Make sure that there no was data diddling containedin the received message of confirmationDescriptionbool cybermut_testmac (string code_MAC, string version, string TPE, string cdate, string montant, string ref_commande, string texte_libre, string code-retour) cybermut_testmac() is used to make sure that there wasnot data diddling contained in the received message of confirmation.Pay attention to parameters code-retour and texte-libre, which cannot beevaluated as is, because auf the dash.You must retrieve them by using:<?php$code_retour=$HTTP_GET_VARS["code-retour"];$texte_libre=$HTTP_GET_VARS["texte-libre"];?>Przykład 1.Last step of payment (equiv cgi2.c)<?php// Make sure that Enable Track Vars is ON.// Directory where are located the keysputenv("CMKEYDIR=/var/creditmut/cles");// Version number$VERSION="1.2";$texte_libre = $HTTP_GET_VARS["texte-libre"];$code_retour = $HTTP_GET_VARS["code-retour"];$mac_ok = creditmut_testmac($MAC,$VERSION,$TPE,$date,$montant,$reference,$texte_libre,$code_retour);if ($mac_ok) {//// insert data processing here////$result=creditmut_creerreponsecm("OK");} else {$result=creditmut_creerreponsecm("Document Falsifie");}?>See alsocybermut_creerformulairecm() andcybermut_creerreponsecm().PoprzedniSpis treściNastępnycybermut_creerformulairecmPoczątek rozdziałucybermut_creerreponsecm [ Pobierz całość w formacie PDF ] |
||||
Wszelkie Prawa Zastrzeżone! Kawa była słaba i bez smaku. Nie miała treści, a jedynie formę. Design by SZABLONY.maniak.pl. | |||||