PERL to PHP problem
| From: | Andy Woolley | Date: | Mon, 05 Aug 2002 16:48:21 +0000 |
| Subject: | PERL to PHP problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-111226@lists.php.net to get a copy of this message | ||
Hi All,
I'm trying to convert this snippet of Perl to PHP and it just wont populate
the $oid and $status variables. Does anyone know if Perl can do things that
PHP can't? - Personally I wouldn't have thought so but you live & learn I
suppose.
<Perl code starts here>
#!/usr/bin/perl
use CGI;
use DBI;
my $qs = new CGI();
#- Print MIME header
print $qs->header();
print "<b>Doing Transaction </b><br />\n";
my $oid = $qs->param("oid");
my $status = $qs->param("transactionstatus");
<Perl code ends>
The problem is that $oid and $transactionid are just not there. I'm unsure
what method the sending server is using. I'm told Java but I have my
doubts - It's a banks credit card transaction server so it's kinda secret
and it's https which could be the problem.
Any help from a Perl guru will be very much appreciated.
Cheers
Andy.