[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Exec a script from command line? "la Caixa" TPVV
****** message to minivend-users from "Gustau" <webadmin@senyal.com> ******
I am attempting to configure MiniVend so that operate the "la Caixa" TPVV
module.
I need to execute an order on the server, but I be don't made it. I believe
that the better way is using the [perl]...[/perl] tag, but I do not know
Perl. Someone would help me?
>From command line I need to execute following:
jre -cp /directory/of_the/script/javaclasses.zip JavaClass
/directory/of_the/script variable1:value variable2:[minivend_tag]
variable3:value ...
Turned out to be it incrusts in a JavaScript:
<script language="JavaScript">
function tpvlink(orn,importe,moneda){
document.location.href="script results";
}
</script>
Thanks and regards!
###############################################
Estoy intentando configurar el MiniVend para que funcione el módulo del TPVV
de "la Caixa".
Necesito ejecutar una orden en el servidor, pero yo no se hacerlo.
Creo que la mejor manera es utilizando el tag [perl]...[/perl], pero yo no
conozco Perl.
Alguien me podría ayudar?
Desde línea de comandos se tendría que ejecutar lo siguiente:
jre -cp /directorio/del/ejecutable/javaclasses.zip JavaClass
/directorio/del/ejecutable variable1:valor variable2:[minivend_tag]
variable3:valor ...
El resultado se incrusta en un JavaScript:
<script language="JavaScript">
function tpvlink(orn,importe,moneda){
document.location.href="resultado del script";
}
</script>
Gracias y saludos!
·························································
· Gustavo Dibasson
· webadmin@senyal.com
· http://www.senyal.com/
· PGP KeyID: 0xF3F743C2
·························································
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list