Hi,
This is what works for me with a script on the same server:
print "Location: my_perl_script.pl?var1=$var1&var2=$var2\n\n";
!!! This'll work as long as you did not print a header such as:
print "Content-type: text/html\n\n";
I assume it'll work with a script on another server using the full path:
print "Location:
http://www.targetdomain.com/cgi-bin/target.pl?code=data&code2=data2\n\n";
Cheers,
Huub.
----- Original Message -----
From: "Louis Selvon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 02, 2001 16:55
Subject: Automatically Calling a Script on another server.
Hi :
I am trying to get a perl script to automatically get called, from within
another script, without someone having to click on a link to call it.
The target script resides on another server. The target is to be called
something like this :
http://www.targetdomain.com/cgi-bin/target.pl?code=data&code2=data2
I know how to get the target to process the data received.
So basically I want the source script, after a form has been processed, in
the
background to automatically call the target script, which will do it's stuff
on the other end, without the user filling out the form knowing about this.
I am not sure how to do that call.
Please note that I specifically want the target script to be called after a
form has been processed.
Does anyone have any clues on how I can do that ?
Thanks in advance
Louis.
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin