AllExperts > Perl & CGI 
Search      
Perl & CGI
Volunteer
Answers to thousands of questions
 Home · More Perl & CGI Questions · Answer Library  · Encyclopedia ·
More Perl & CGI Answers
Question Library

Ask a question about Perl & CGI
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Marty Landman
Expertise
Perl programming using CGI, databases, HTML templating, and website automation.

Experience
Web developer since 1998, owner of Face 2 Interface.

 
   

You are here:  Experts > Computing/Technology > Perl/PHP > Perl & CGI > Perl and asp

Perl & CGI - Perl and asp


Expert: Marty Landman - 2/28/2009

Question
Hello!

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

Answer
Achille,

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

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.