Perl redirect to PHP page
Posted
by sea_1987
on Stack Overflow
See other posts from Stack Overflow
or by sea_1987
Published on 2010-04-29T12:41:58Z
Indexed on
2010/04/29
12:47 UTC
Read the original article
Hit count: 443
Hi There,
I am working with a site that uses an outside source to work with payment transactions, one of the prerequisites is that on success a CGI script is called.
What I am wanting to know is it possible to do a redirect to a PHP page with the CGI script and have the PHP detect that it has been loaded via a Perl redirect, I currently have this is in my perl.
#!/usr/bin/perl
#
# fixedredir.cgi
use strict;
use warnings;
my $URL = "http://www.example.com/";
Location: $URL;
© Stack Overflow or respective owner