🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1264

Re: AResponseInfo->Referer question

#1264
From: Ulli
Date: Tue, 05 Apr 2005 13:50
44 lines
2126 bytes
Hi,

thanks. I knew there was some thing like that. But I couldn't remember.
Unfortunately the Values propertie is always empty the Names propertie is 
ok.

The Tag is:
<a href="Site_1.htm?light_1=Off">Light Off</a>

for(int i = 0; i < ARequestInfo->Params->Count; i++)
	{
	as_Value = ARequestInfo->Params->Values[i];
	as_Name = ARequestInfo->Params->Names[i];
	// Rest of the code
	}

Do I have a understanding problem how to use it?
	
Thanks
Ulli

Am Mon, 4 Apr 2005 10:40:37 -0700 schrieb Remy Lebeau (TeamB) 
<no.spam@no.spam.com>:

>
> <Ulli> wrote in message news:opsoprskcvgmwg2m@localhost...
>> Ok thanks I thought there is some kind of parser in
>> the Indie componant for that anyway.
>
> There is.  The name=value pairs would be stored in the 
> ARequestInfo.Params
> property, which is a TStrings descendant and thus has Name[] and Value[]
> subproperties to parse the data at the "=" character for you.
>
>
> Gambit
>
>
Technical Details
Message-ID: <opsorh16upgmwg2m@localhost>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <opsoh67weogmwg2m@localhost> <424c50c6$1@newsgroups.borland.com> <opsojsglxqgmwg2m@localhost> <424d61f9@newsgroups.borland.com> <opsoo6ljd2gmwg2m@localhost> <4250f95a$1@newsgroups.borland.com> <opsoprskcvgmwg2m@localhost> <42517bb4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,4b33aa1f27c59276
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: AResponseInfo->Referer question
References: <opsoh67weogmwg2m@localhost> <424c50c6$1@newsgroups.borland.com> <opsojsglxqgmwg2m@localhost> <424d61f9@newsgroups.borland.com> <opsoo6ljd2gmwg2m@localhost> <4250f95a$1@newsgroups.borland.com> <opsoprskcvgmwg2m@localhost> <42517bb4$1@newsgroups.borland.com>
Message-ID: <opsorh16upgmwg2m@localhost>
From: Ulli
Content-Type: text/plain; format=flowed; charset=iso-8859-15
MIME-Version: 1.0
Content-Transfer-Encoding: Quoted-Printable
Date: Tue, 05 Apr 2005 15:50:20 +0200
User-Agent: Opera7.23/Win32 M2 build 3227
NNTP-Posting-Host: 84.175.173.123
X-Trace: newsgroups.borland.com 1112709021 84.175.173.123 (5 Apr 2005 06:50:21 -0800)
Lines: 45
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail