|
 |
asp_web_howto thread: Read a result string from an external Perl-Script
Message #1 by "Franz-Josef Mersch" <mersch@p...> on Mon, 30 Apr 2001 14:59:28
|
|
Hi,
I hope someone can help me. My English is not good but i try it.
I must fetch the result string of an external Perl Script in a Variable in
my ASP Site. The Link to the Perl Script looks like this:
http://ip-number/cgi-bin/script.pl?xx=123&yy=456
When I call this link with an Browser the result shows something like this:
"XYZ123";"00";"100";"Active"
There is no HTML in the result, only this Text.
This String is needed in ASP to decide whether some thing will be shown on
my Website or not.
I hope it is possible.
Thanks a lot.
Message #2 by "TomMallard" <mallard@s...> on Mon, 30 Apr 2001 07:39:43 -0700
|
|
dim strResults, arrResults()
strResults = http://ip-number/cgi-bin/script.pl?xx=123&yy=456
redim arrResults = split(strResults, ";")
tom
----- Original Message -----
From: "Franz-Josef Mersch" <mersch@p...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Monday, April 30, 2001 2:59 PM
Subject: [asp_web_howto] Read a result string from an external Perl-Script
> Hi,
>
> I hope someone can help me. My English is not good but i try it.
>
> I must fetch the result string of an external Perl Script in a Variable in
> my ASP Site. The Link to the Perl Script looks like this:
>
> http://ip-number/cgi-bin/script.pl?xx=123&yy=456
>
> When I call this link with an Browser the result shows something like
this:
>
> "XYZ123";"00";"100";"Active"
>
> There is no HTML in the result, only this Text.
>
> This String is needed in ASP to decide whether some thing will be shown on
> my Website or not.
>
> I hope it is possible.
>
> Thanks a lot.
Message #3 by "TomMallard" <mallard@s...> on Mon, 30 Apr 2001 07:48:37 -0700
|
|
Ooops, before coffee....you'll need an http component to get the
value...duh...
tom
----- Original Message -----
From: "TomMallard" <mallard@s...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Monday, April 30, 2001 7:39 AM
Subject: [asp_web_howto] Re: Read a result string from an external
Perl-Script
> dim strResults, arrResults()
>
> strResults = http://ip-number/cgi-bin/script.pl?xx=123&yy=456
> redim arrResults = split(strResults, ";")
>
> tom
>
> ----- Original Message -----
> From: "Franz-Josef Mersch" <mersch@p...>
> To: "ASP Web HowTo" <asp_web_howto@p...>
> Sent: Monday, April 30, 2001 2:59 PM
> Subject: [asp_web_howto] Read a result string from an external Perl-Script
>
>
> > Hi,
> >
> > I hope someone can help me. My English is not good but i try it.
> >
> > I must fetch the result string of an external Perl Script in a Variable
in
> > my ASP Site. The Link to the Perl Script looks like this:
> >
> > http://ip-number/cgi-bin/script.pl?xx=123&yy=456
> >
> > When I call this link with an Browser the result shows something like
> this:
> >
> > "XYZ123";"00";"100";"Active"
> >
> > There is no HTML in the result, only this Text.
> >
> > This String is needed in ASP to decide whether some thing will be shown
on
> > my Website or not.
> >
> > I hope it is possible.
> >
> > Thanks a lot.
>
>
Message #4 by "Franz-Josef Mersch" <mersch@p...> on Mon, 30 Apr 2001 18:07:02
|
|
> Ooops, before coffee....you'll need an http component to get the
> value...duh...
Thanks, that is it. I have it done with the
Server.CreateObject "Microsoft.XMLHTTP"
Now I have the String i need in the variable strResults.
>
> tom
> ----- Original Message -----
> From: "TomMallard" <mallard@s...>
> To: "ASP Web HowTo" <asp_web_howto@p...>
> Sent: Monday, April 30, 2001 7:39 AM
> Subject: [asp_web_howto] Re: Read a result string from an external
> Perl-Script
>
>
> > dim strResults, arrResults()
> >
> > strResults = http://ip-number/cgi-bin/script.pl?xx=123&yy=456
> > redim arrResults = split(strResults, ";")
> >
> > tom
> >
> > ----- Original Message -----
> > From: "Franz-Josef Mersch" <mersch@p...>
> > To: "ASP Web HowTo" <asp_web_howto@p...>
> > Sent: Monday, April 30, 2001 2:59 PM
> > Subject: [asp_web_howto] Read a result string from an external Perl-
Script
> >
> >
> > > Hi,
> > >
> > > I hope someone can help me. My English is not good but i try it.
> > >
> > > I must fetch the result string of an external Perl Script in a
Variable
> in
> > > my ASP Site. The Link to the Perl Script looks like this:
> > >
> > > http://ip-number/cgi-bin/script.pl?xx=123&yy=456
> > >
> > > When I call this link with an Browser the result shows something like
> > this:
> > >
> > > "XYZ123";"00";"100";"Active"
> > >
> > > There is no HTML in the result, only this Text.
> > >
> > > This String is needed in ASP to decide whether some thing will be
shown
> on
> > > my Website or not.
> > >
> > > I hope it is possible.
> > >
> > > Thanks a lot.
> >
> >
|
|
 |