-
I am trying to pass a parameter on the URL string simliar to this :
h t t p://server.com/cgi-bin/load.cgi?rpt_name=My Test Report
The code for load.cgi looks like this :
#!/usr/local/bin/perl
require "sybperl.pl";
use CGI;
$query = new CGI;
$rpt_name = $query->param("rpt_name");
The $rpt_name variable only gets "My". If I put quotes around My Test Report, I get a server error. How can I get the entire string, even if there are spaces in the parameter?
Thanks
-
try:
Use the webbrowser control, set on invisible and do this
Code:
WB1.Visible = False
WB1.Navigate "http://server.com/cgi-bin/load.cgi?rpt_name=My_Test_Report"
'Try that???