Perl & CGI/Perl and asp
Expert: Marty Landman - 2/28/2009
QuestionHello!
I need to call an asp link from a perl script, by passing parameters, and would like to simply use a print "Location: $url?$data";
This does not work, the $data is never received by the asp script. I use this way to send data to perl or php scripts and this works fine, but not here.
Is there a special way to do this?
Thank you,
Achille
AnswerAchille,
This should work, unless for some reason this feature was disabled by the server. As I'm unfamiliar beyond real basics with ASP I'm kind of guessing here.
But here's what I'd suggest - after printing your header, execute the following lines of code in the script and see if the $data stuff shows up anywhere.
for(sort keys %ENV)
{ print "<br /> ENV{$_} eq $ENV{$_}\n" }
--
Marty Landman, Face 2 Interface Inc.
Drupal Development Blog:
http://drupal.face2interface.com/
Free Database Search App:
http://face2interface.com/Products/FormATable.shtml