Re: Serving a different website based on source internet address ?
- From: "Skybuck" <skybuck2000@xxxxxxxxxxx>
- Date: 30 Aug 2006 10:01:01 -0700
J French schreef:
On 29 Aug 2006 10:35:22 -0700, "Skybuck" <skybuck2000@xxxxxxxxxxx>
wrote:
Hello,
Based on the source internet address a different version of the website
should be presented/served to the user/browser.
For example in pseudo code:
if SourceAddress = '143.3.5.1' then
begin
ShowBlueWebsite; // Load/Show BlueIndex.htm
end else
if SourceAddress = '124.5.15.7' then
begin
ShowRedWebsite; // LoadShow RedIndex.htm
end;
I can think of two ways how to do this in delphi in conjunction with a
webserver:
1. The classic CGI method. This means writing an executable.
2. The new .NET / Web application method.
Before I attempt to write something like that myself, I ask the members
of this newsgroup if they have any source code available or any web
development skills which might come in handy.
Maybe somebody can quickly write some demonstration code ?
Not at all difficult
- Web stuff is quite easy and logical, or at least it was in 2000
Neh, it's not difficult.
But it could be time-consuming.
Do you have time to write some simple demonstration code ?
Bye,
Skybuck.
.
- References:
- Prev by Date: Re: Serving a different website based on source internet address ?
- Next by Date: Re: string vars in a method (delphi 7)
- Previous by thread: Re: Serving a different website based on source internet address ?
- Next by thread: Webbrowser and PRINTER
- Index(es):
Relevant Pages
|