Hi, I have written one cgi script which gets the input from user and modify one xml file and I got this string as output http://prv-arweb3.Test.com/Remedy/servlet/Servlet?URL=http://asharma.Test.co m/Query1.xml&TURL=http://asharma.Test.com/Remedy1.xsl
Here I am getting modified Query1.xml as input and I have to give this command in address bar to get the desired result. Could you please help me to let me know how directly through CGi I can go to the address mentioned above without copying and pasting in address bar. This address will always remain the same only the xml file will change.
General Question:
In my cgi script I want to open some site let us suppose http://www.google.com
The way I know of off the top of my head goes something like this:
use CGI;
my $cgi = new CGI; print $cgi->header; print "<script>location.href = 'http://www.google.com';</script>
There is a more correct way to do this using HTTP codes, such as:
print "HTTP/1.0 302 Found\n"; print "Location: www.google.com\n\n";
This could be wrong, though, so someone please correct me.
-- Andrew Gaffney
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]