How can I pass some variables to a perl script and have this perl script pass these variables to another server/perl script.
Can I call perl as follows ?
<?
php
$card_number = "3444333322221111";
$card_name = "Tom Johnes";
$execfile = "perl auth.cgi '$card_number' '$card_name'";
exec($execfile,$result);
I there a way to have Perl "perl_auth.cgi" send these variables to another server using a SSL HTTP header similar to a PHP Header(location https://
I don't know any Perl, can this be done in this fashion ?
The reason why I cannot simply use a PHP header is that my .php file laready contains one header(location.
Many thanks,
Peter Morrissette