Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Delphi 7 creating a standard web page 1st time



Permlink Replies: 20 - Last Post: Apr 29, 2016 12:34 AM Last Post By: Lex Dean
Lex Dean

Posts: 132
Registered: 3/26/07
Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 13, 2016 8:41 PM
The editorials on the net do not support Delphi 7.
I have windows 7, ISS 10, installed with .net 1.1.4322
localhost displays C:\inetpub\wwwroot\iisstart.htm
I have made C:\inetpub\Script

I have tried doing a soap
in delphi 7 - File - New - Other - WebSoap - WebSoap Application
selected ISAP/...... Dynamic Link Library (at the top)
and named page name 'site'

with project manager ProjectGroup1 right click and select add existing project and gave it name project2
Im asked a) create a new form, b) create a new unit. c) create a new text file.
I said 'create a new form' is this correct
and I saved it.

If I have done this correct Linking to the ISS I totally do not get how to link or what I'm linking

can some one help
Robert Triest

Posts: 687
Registered: 3/24/05
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 14, 2016 1:26 AM   in response to: Lex Dean in response to: Lex Dean
Lex Dean

Posts: 132
Registered: 3/26/07
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 14, 2016 7:04 PM   in response to: Robert Triest in response to: Robert Triest
I like what I read hear
http://etutorials.org/Programming/mastering+delphi+7/Part+IV+Delphi+the+Internet+and+a+.NET+Preview/Chapter+23+Web+Services+and+SOAP/Building+Web+Services/
The subject jumps around a bit that its not easy to follow
I like the acticeX link that make things so simple
But I wish I can understand below a bit better

"type
ISoapEmployee = interface (IInvokable)
['{77D0D940-23EC-49A5-9630-ADE0751E3DB3}']
function GetEmployeeNames: string; stdcall;
function GetEmployeeData (EmpID: string): string; stdcall;
end;"

how can you get a list of ActiveX access Links like this, what each one is for from MS.
I understand this is My SQL link
Robert Triest

Posts: 687
Registered: 3/24/05
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 15, 2016 12:21 AM   in response to: Lex Dean in response to: Lex Dean
Its not so easy to understand what you want to do.
I guess that you just want to build a web service and use it in ISS.

When creating a service you can choose between and exe (CGI) and a DLL (ISAPI)
IIS will execute both if a request comes in but an new exe will be executed
every time while one DLL will be reused every time by the server.
So, if 10 people asks your webservice then one DLL is loaded once and reused
by the server or 10 executables are started.

In both cases you need to configure your server (IIS) to accept CGI/ISAPI calls
normally as default the server don't accept these.

Your CGI or ISAPI program contains your Delphi procedures that do something
and return back the requested information. To make a Soap communication
Delphi creates also an interface around all your Delphi procedures/functions like

type ISoapEmployee = interface (IInvokable)


With this Soap interface you can create complex procedures that will
for example return database information that can be received by an
Delphi client application with a TClientDataSet.

If you just want your server returning a webpage you can just create
an ISAPI or CGI program with functions that return HTML code without
a Soap interface.

If you want to create an application that bypasses IIS then you can
take a look at Delphi DataSnap. This is almost the same as creating
an ISAPI/CGI program but the program contains also a wevbserver.

how can you get a list of ActiveX access Links like this, what each one is for from MS. I understand this is My SQL link
Pleas explain better what you want. What has ActiveX to do in your story?
Lex Dean

Posts: 132
Registered: 3/26/07
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 15, 2016 4:29 PM   in response to: Robert Triest in response to: Robert Triest
Robert Triest wrote:
Its not so easy to understand what you want to do.
I guess that you just want to build a web service and use it in ISS.

When creating a service you can choose between and exe (CGI) and a DLL (ISAPI)
IIS will execute both if a request comes in but an new exe will be executed
every time while one DLL will be reused every time by the server.
So, if 10 people asks your webservice then one DLL is loaded once and reused
by the server or 10 executables are started.

In both cases you need to configure your server (IIS) to accept CGI/ISAPI calls
normally as default the server don't accept these.

Your CGI or ISAPI program contains your Delphi procedures that do something
and return back the requested information. To make a Soap communication
Delphi creates also an interface around all your Delphi procedures/functions like

type ISoapEmployee = interface (IInvokable)


With this Soap interface you can create complex procedures that will
for example return database information that can be received by an
Delphi client application with a TClientDataSet.

If you just want your server returning a webpage you can just create
an ISAPI or CGI program with functions that return HTML code without
a Soap interface.

If you want to create an application that bypasses IIS then you can
take a look at Delphi DataSnap. This is almost the same as creating
an ISAPI/CGI program but the program contains also a wevbserver.

how can you get a list of ActiveX access Links like this, what each one is for from MS. I understand this is My SQL link
Pleas explain better what you want. What has ActiveX to do in your story?

you have nailed everything on the head thanks,
As I read more articles on Websnap application I'm finding
webModule .actions
Web debugger
how to debug in Delphi

But what I have not got to
I want a database of clients with a database of products
The best way to do this is place the client name in the URL from a database
I have seen an example of using the data module uploading a entire feild but little is explained about incoming URL's and how a URL is presented on top of a page, I just have not got their yet and the things I can do.
Robert Triest

Posts: 687
Registered: 3/24/05
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 18, 2016 12:28 AM   in response to: Lex Dean in response to: Lex Dean
I have seen an example of using the data module uploading a entire field but little is explained about incoming
URL's and how a URL is presented on top of a page, I just have not got their yet and the things I can do.

My feeling is that the examples you looking at are projects using WebSnap, Datamodule, DLL, IIS and the TClientDataSet component.
As you see there is no web browser involved and the client side example is a Delphi application and uses TClientDataset.
The TClientDataset is the the database engine working with the Soap interface created by the DLL/EXE. All the edits,
posts, deletes and inserts into the database is going via the TClientDataset that can handle the Soap interface and performs
the data and network access to IIS. So, almost all intelligence about database access on the client side is done by TClientDataset.

You talk about URL's, so my impression is that you want a web browser on the client side that can execute information
to your server by passing data into the URL but the problem is that you can't drop a database component like TClientDataSet
on a Web browser. In this situation you need JavaScript procedures that handle your functions of the DLL and together
with the HTML page using these Java Scripts (and with things like a html FORM POST/GET and a Submit button executing the JavaScript)
you can do what the TClientDataSet is doing for you in a Delphi Client Application.

In some enhanced Delphi versions DataSnap Server is included. After you created your server functions DataSnap
is creating a JavaScript library (and example html with an edit and submit button) for you when compiling the program.
This JavaScript *.js library includes the interface around your Delphi procedures and these functions you use inside the HTML page
on the clientside to set up the communication with your server.

http://docwiki.embarcadero.com/RADStudio/Seattle/en/DataSnap_WebBroker_Application_Wizard

In the same way DataSnap can create also "mobile connectors", libraries that you can use on the various mobile platforms
to communicate between your FireMonkey mobile app and your Datasnap server.

iOS 4.x, 5.x, 6.x, 7.x (Objective-C)
Android 2.x, 3.x, or 4.x (Java)
Windows Phone 7 (C#Silverlight--all devices compatible with the platform)
BlackBerry Java SDK 5 and 6 (Java)

You can html FORM POST information with parameters inside a URL to your DLL and analyse the incoming parameters
on your server inside the DLL, execute your Delphi function and return a html back to the Client BUT to create a Database
"html application" in this way including edits, inserts, posts and deletes is then quite a mission. So, how far you want to go
with database access by using this technology? Basically you need to build all of your html pages yourself.
Note, with JavaScript libraries the communication is going through the java script functions and you looking for
using to POST/GET information by using the URL parameter way.

To help you with setting up a DLL interface with a web browser using html URL parameters, Delphi provides some
components like TDataSetTableProducer and TDataSetPageProducer. Take a look to the following example:

http://mc-computing.com/databases/Delphi/WebServers/WebServer_CGI.html
Lex Dean

Posts: 132
Registered: 3/26/07
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 18, 2016 3:46 AM   in response to: Robert Triest in response to: Robert Triest
Yes you are so helpful, I just trying to take in my options
I have to nail this database access so very true my friend and I'm going to play very much with what you have said as it makes so much common sense to follow.

This is me - look at many things at once.
I have been exploring page development in the last few days - many different DB pages
XSLPageProducer looks so interesting (from my Delphi 7 Enterprise WebSnap Tab) to drop into my DataModule
But I cannot see how to use it with a URL address, And some of my database will hold text to make my URL "Get statement" from with in the page. Is that possible.

PageProducerPage has Property HTMLFile that's cleared yet their is a HTML file in the project directory. Also Unit 2 has bottom tabs to manage creating that page, but none of this links to a URL address.

I see DataSetValuesList as a database access method, but have not used it yet
So I have been looking at things a different way to your description so I'm asking you have you tried this way and what is the pros and cons
from your experience. I see clearly what you mean that Delphi uses a script to get database data into the page that I'm asking my self a little of whats the advantage of Delphi over a script other than leaning a script language. Or why can't Delphi insert data like a script language to speed things up.

I own VB6 and I'm tempted to use it over JScript because of familiarity as the only reason, I do not recommend it as the be all product by any means but it may have uses to offer ActiveX into Delphi as the process is not to hard. Example if I had Delphi 4 you can import the ADO through ActiveX as Windows offers ADO but Delphi programmers do not use ActiveX when it functions so well. The bottom line is VB6 is most probably as good as Delphi for web development but I understand Delphi better. What I hate is .net dose not work on it.

I will get their

Edited by: Lex Dean on Apr 18, 2016 3:46 AM
Robert Triest

Posts: 687
Registered: 3/24/05
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 18, 2016 4:54 AM   in response to: Lex Dean in response to: Lex Dean
This example covers the whole Client Browser to CGI Server cycle (also with database example) :

http://www.swissdelphicenter.ch/en/showarticle.php?id=2

Note the examples download ("Sample Code") at the end of the page !
It contains step 1-7 step by step examples.
Robert Triest

Posts: 687
Registered: 3/24/05
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 18, 2016 5:28 AM   in response to: Lex Dean in response to: Lex Dean
Or why can't Delphi insert data like a script language to speed things up.

On the server side, inside the CGI/ISAPI program, you can do whatever can be done in Delphi.
Use Database components, file access on the server, etc. When you have collected your
information you have to send it back to the Client in a web browser language (HTML, JavaScript, CSS Styles)
You can send back a HTML page with the information and include JavaScipts the client need like

script type="text/javascript" src="http://myserver.com/js/MyJSFunctions.js"></script>


So, that part of your return HTML page is just on your server.

On the Client side there is basically nothing Delphi at all when you use the web browser. Everything
has to be done by HTML and JavaScript. If you use a Delphi program also on the client side you can
use also use intelligent components like TClientSet.

There are several comercial packages that do a lot for you so you don't have to learn Javasript and HTML.

DataSnap
http://www.unigui.com/
http://www.atozed.com/intraweb/index.nl.aspx

These are sometimes based on a Delphi Client web application and sometimes based on
a Client Web browser. You have to be aware that it might be handy to just drop a DBGrid on
the Client side but what does the GUI look like if your users are using a small tablet or
mobile phone browser? (IOS doesn't even contain Grids..)
When you make your pages yourself you can just see what HTML you return back to the
user, using JQuery, JQuery Mobile, BootStrap, etc.. e.g. you are very flexible what HTML
you return back to the user. if you create you server with CGI/ISAPI.
Robert Triest

Posts: 687
Registered: 3/24/05
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 18, 2016 5:34 AM   in response to: Lex Dean in response to: Lex Dean
But I cannot see how to use it with a URL address, And some of my database will hold text to make my URL "Get statement" from with in the page. Is that possible.

http://mc-computing.com/databases/Delphi/WebServers/WebServer_CGI.html
In the example you can catch your URL param like:

tempStr := Request.GetFieldByName('parameterName');


See section "Reading Parameters"
Lex Dean

Posts: 132
Registered: 3/26/07
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 21, 2016 8:09 PM   in response to: Robert Triest in response to: Robert Triest
I have been focusing on a OBDC database because of the data module
Delphi 7 does not support 64 bit as I'm running windows 7
I would like to find something that takes the 32 bit OBDC files from C:\Windows\SysWOW64
and place the over the top of the 64 bit OBDC in C:\Windows\System32 where Windows XP use to have them.
Until I get a OBDC database I cannot move forward as far as I can see.

I would like to run mysql that automaticly defaults to whats in the C:\Windows\System32 directory

Edited by: Lex Dean on Apr 21, 2016 11:57 PM

Robert Triest

Posts: 687
Registered: 3/24/05
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 22, 2016 2:52 PM   in response to: Lex Dean in response to: Lex Dean
I have been focusing on a OBDC database because of the data module

A data module in Delphi is an invisible "form" where you can drop database
components on. You can drop any non-visual component on the datamodule
and use/configure them. The datamodule is the first "form" created
in your program and the components can directly used in your application.
So, it is a kind of storage "form" for non-visual components and it has nothing to
do with ODBC.
http://docwiki.embarcadero.com/RADStudio/Seattle/en/Using_Data_Modules

There is no ODBC database. There are only databases that can be reached by ODBC drivers and
almost all databases can be used by their own or 3th party ODBC drivers.
Windows has a special tool in the administrator part of the configuration screen where the drivers
are installed. To talk to the ODBC drivers, Delphi has (had..) an engine that can talk to the ODBC
system of windows and that is called the BDE. In Delphi you can use BDE database components
to talk to databases via the ODBC aliases configured in the BDE and ODBC tool.

TQuery <-> TDatabase <-> Alias <-> BDE <-> ODBC <-> Database.
http://docwiki.embarcadero.com/RADStudio/Seattle/en/BDE_Overview

Beside BDE components for an ODBC driver connection to the database, Delphi has
other ways to connect to databases.

dbGo: Connection via Microsoft ADO an OLE DB provider. (also ODBC)
You can directly speak to the ODBC drivers via MS ADO without the BDE.
http://docwiki.embarcadero.com/RADStudio/Seattle/en/DbGo_Overview

dbExpress: Lightweight database components that provide fast
access to SQL database servers. (Unidirectional !) Using DLL's

FireDAC: The new Delphi native database engine. Can talk with native drivers
to most populair databases and you can also connect to databases by ODBC drivers.
http://docwiki.embarcadero.com/RADStudio/Seattle/en/FireDAC

There are also other 3th party database components.

Delphi 7 does not support 64 bit as I'm running windows 7
I would like to find something that takes the 32 bit OBDC files from C:\Windows\SysWOW64
and place the over the top of the 64 bit OBDC in C:\Windows\System32 where Windows XP use to have them.
Until I get a OBDC database I cannot move forward as far as I can see.
Forget this 32-64 bit story. If you build your app in 32 bit (Delphi 7) you will use all 32 bit parts of the windows system.

I would like to run mysql that automaticly defaults to whats in the C:\Windows\System32 directory
I don't understand what your problem is with 32-64 bit. If you install mysql 32 bit and
install the proper 32 bit ODBC driver in windows, it must be possible to connect to the database
by Delphi BDE or ADO or DBExpress.
https://dev.mysql.com/downloads/connector/odbc/5.3.html
Lex Dean

Posts: 132
Registered: 3/26/07
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 22, 2016 12:08 AM   in response to: Robert Triest in response to: Robert Triest
I think ISS is too much junk to do something that should be simpler
ISS is to support .net in my eyes
Web Snap does not support .net so a simple alternative is ideal I belive
A question is :- Does Web Snap support HTTP 5 or only 1
And what type of Web server is fast and connects easily to Delphi Web Snap.
At the same time I need a database on my Data Module or I'm going no where fast

Lex
Robert Triest

Posts: 687
Registered: 3/24/05
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 22, 2016 3:24 PM   in response to: Lex Dean in response to: Lex Dean
I think ISS is too much junk to do something that should be simpler
ISS is to support .net in my eyes
IIS is the native webserver for Windows. Its a very powerfull engine
and I don't know what .NET fits in this story. WebSnap, ISAPI or CGI,
gives after compile a DLL or EXE program that is compatible with any
webserver that can handle ISAPI or CGI.

Web Snap does not support .net so a simple alternative is ideal I belive
A question is :- Does Web Snap support HTTP 5 or only 1
Why this question?

And what type of Web server is fast and connects easily to Delphi Web Snap.
All webservers that can handle ISAPI or CGI programs.

At the same time I need a database on my Data Module or I'm going no where fast
You datamodule contains the database components that you use in your program.
The components on the module are pointing to your database. In your program
you use the components to query/update/post/delete your data. (TQuery)

User->Web->Webserver->ISAPI/CGI->DataModule (database components)->BDE/ADO/DLL->(ODBC driver)->Database

Take a look to other small webservers for Windows. (With CGI support) like:
http://tinyserver.sourceforge.net/

Maybe you can take a look to Indy (internet) components. You can build your own webserver
with it. http://www.indyproject.org/demos/
Lex Dean

Posts: 132
Registered: 3/26/07
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 23, 2016 7:35 PM   in response to: Robert Triest in response to: Robert Triest
I have a MySQL database 5.7 working

I have a error : - Invalid Precision Value when using parameters

So I'm using data types that are not allowed

I have
integers //integer
unsigned integers // DWord
big integers // should be a int64
bit(1) // Boolean
decimal 4, 2 for currency
char or strings with size setting
blob string called text 0-65355 // this is like a separate file I gather and shoulde be a ansi string

what is not working with Delphi and especially Data module

Edited by: Lex Dean on Apr 24, 2016 11:16 PM
Lex Dean

Posts: 132
Registered: 3/26/07
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 25, 2016 1:59 AM   in response to: Lex Dean in response to: Lex Dean
I have a MySQL database 5.7 working and connected to Delphi with tables/fields made

is their any free code for WebSnap example
I want a left pane that has a database button set much like the left pane of MS file dialog
3 buttons or names deep
Something that looks kinda hot looking

were can some get examples like this

Edited by: Lex Dean on Apr 25, 2016 1:59 AM
Robert Triest

Posts: 687
Registered: 3/24/05
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 25, 2016 12:21 PM   in response to: Lex Dean in response to: Lex Dean
http://www.swissdelphicenter.ch/article_download/IntroWebDev.zip

This is a step by step websnap application including database access.
Lex Dean

Posts: 132
Registered: 3/26/07
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 27, 2016 8:05 PM   in response to: Robert Triest in response to: Robert Triest
I wish I could open it but its not Delphi 7 compatible

But its just what I'm learning now!!!!!!!!!! I have a database and 10 thousand Questions

With PageProdcuer and java script,
1/ get the text from the get request in Delphi code
2/ before making a page get the database do the required query as I'm doing a filter with SQL and and limit the item index,
Example items 20 to 40 from my database preferred from SQL
3/ I have a Delphi function to inert text that I understand must be inserted through Java script that places it into my HMTL code
4/ get a string in HMTL into a Delphi function that the function returns text back into HMTL

5/ some how I wish I could build the page by inserting text from Delphi example: - TPProducerPage1.PageDispatcherBeforeDispatchPage
then inserting information is so much similar, but difficult to obtain text from a web editor.
But because I'm new newbe's try to do things the wrong way around

one thing that I want to do is run a cookie to record user name and password
Can I use the indy cookie system

and do a trick with the database, to record last login time and delay the next login time 12 seconds before it can log in again
This stops some one cracking a users password.
Because this a New Zealand only web site all IPv6 tcp/ip addresses in New Zealand start with as I remember 202 as I remember and I want to stop users from other counties accessing these pages. I'm hopping to do this in Delphi code before building the code.

Edited by: Lex Dean on Apr 27, 2016 8:49 PM
Robert Triest

Posts: 687
Registered: 3/24/05
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 28, 2016 12:36 AM   in response to: Lex Dean in response to: Lex Dean
I wish I could open it but its not Delphi 7 compatible
But you just can open the *.pas and *.dfm files and look into it.

But its just what I'm learning now!!!!!!!!!! I have a database and 10 thousand Questions
Yes, you must have. You are at the beginning of Delphi Database and internet programming and you already
want to create a Web-based database application without 3th party tools like Intraweb or DataSnap.

With PageProdcuer and java script,
1/ get the text from the get request in Delphi code
2/ before making a page get the database do the required query as I'm doing a filter with SQL and and limit the item index,
Example items 20 to 40 from my database preferred from SQL
You can send back this information by creating a html page in runtime with the <Table> tag. You loop through your
query result first to .eof and create the <TR> and <TD> tags in between.

3/ I have a Delphi function to inert text that I understand must be inserted through Java script that places it into my HMTL code
You don't have to. You can use a normal HTML <form method> to post your information to the webserver/CGI.
See example:

https://forums.embarcadero.com/post!reply.jspa?messageID=823169

4/ get a string in HMTL into a Delphi function that the function returns text back into HMTL
See example.

Your params you can catch in :
Request.ContentFields.Values['NAME_FIELD']
inside the TWebModule1.WebModule1FormAction procedure
and you return your HTML back after doing things like a query with:
Response.Content := <your html>

5/ some how I wish I could build the page by inserting text from Delphi example: - TPProducerPage1.PageDispatcherBeforeDispatchPage
then inserting information is so much similar, but difficult to obtain text from a web editor.
But because I'm new newbe's try to do things the wrong way around
Yes, but the problem is that we are here not able to give you an entire Delphi database, internet programming course.
The webserver/Delphi side you have to learn but what are your skills in JavaScript and HTML...
Go though the websnap examples you find. To create everything with plain Indy components is even a bigger challenge I think.

I would just try to make a communication between a webpage and your CGI/ISAPI Delphi program.
Make a HTML webpage with a FORM and submit button. When submit button pressed you info is posted to your server/CGI.
In the webserver CGI/ISAPI you catch the params (the form info) and
execute an query to your database. The you return HTML back with the database information inside a <TABLE>.
All these things are in the websnap example and explained on the webpage link above.

one thing that I want to do is run a cookie to record user name and password
Can I use the indy cookie system
This will be part to sort out how to manage this by just adding a Delphi CGI extension at your webserver.
First you have to choose what tech. you want to use. WebSnap or plain Indy components. (and build your own webserver)
Since cookies are on the client side, my feeling is this must be solved in JavaScript.

and do a trick with the database, to record last login time and delay the next login time 12 seconds before it can log in again
This stops some one cracking a users password.
On the Delphi side you can of course store everything in your database, based on the username.
After login you catch the username and check the database and return what you want.
Be sure your webserver is secure (HTTPS)

Because this a New Zealand only web site all IPv6 tcp/ip addresses in New Zealand start with as I remember 202 as
I remember and I want to stop users from other counties accessing these pages.
You have to see what you have to solve on the Delphi side (Your CGI/ISAPI extension in IIS) and
what the webserver (IIS) can do for you, like blocking IP's.

Edited by: Robert Triest on Apr 28, 2016 9:38 AM
Lex Dean

Posts: 132
Registered: 3/26/07
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 28, 2016 2:56 PM   in response to: Robert Triest in response to: Robert Triest
At some point Delphi code must be run before the page is developed
example page producer

why cant I read the request in Delphi and set up the data base records
That is a simple request before entering the page
Lex Dean

Posts: 132
Registered: 3/26/07
Re: Delphi 7 creating a standard web page 1st time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 29, 2016 12:34 AM   in response to: Lex Dean in response to: Lex Dean
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02