Thread View: borland.public.cppbuilder.internet.web
13 messages
13 total messages
Started by roger
Sat, 13 Nov 2004 08:01
perl to dll
Author: roger
Date: Sat, 13 Nov 2004 08:01
Date: Sat, 13 Nov 2004 08:01
10 lines
1235 bytes
1235 bytes
I hope someone can help me hear as i have never worked with web servers before except for using perl/php.. I need to convert my search functions that i have in perl for returning queries on a MySql db to a DLL., my question is: Is there any dedicated sites to help me with this(or book) and can someone tell me which basic components is would need to use to make a simple example.. I am using BCB 6 Ent
Re: perl to dll
Author: hans galema
Date: Mon, 15 Nov 2004 08:21
Date: Mon, 15 Nov 2004 08:21
24 lines
1882 bytes
1882 bytes
roger wrote: > I need to convert my search functions that i have in perl for returning > queries on a MySql db to a DLL., If you are forced to to that then there should be a reason. Can you tell something of the reason ? > my question is: > Is there any dedicated sites to help me with this(or book) and can someone > tell me which basic components is would need to use to make a simple > example.. I know that it I program a cgi application in C or C++ that I have the choise to put the code in an exe or in a dll (that Apache can load). But php scripts or perl scripts in a dll ? Don't know if you can put scripts in a dll. I would be amazed. But if it was possible then you could better look in a php or perl book how to to that. Or ask in a php or perl newsgroup for assistence. By the time you know how that has to be done you can come back to ask if that what you want is possible with c++builder. Hans.
Re: perl to dll
Author: roger
Date: Mon, 15 Nov 2004 22:44
Date: Mon, 15 Nov 2004 22:44
34 lines
2247 bytes
2247 bytes
Sorry my mistake i should have explained better... where i currently have perl calling .cgi files to query my database, i want to make a search dll to query my database and return the found data "hans galema" <notused@notused.nl> wrote in message news:419866e8@newsgroups.borland.com... > roger wrote: > > > I need to convert my search functions that i have in perl for returning > > queries on a MySql db to a DLL., > > If you are forced to to that then there should be a reason. Can > you tell something of the reason ? > > > my question is: > > Is there any dedicated sites to help me with this(or book) and can someone > > tell me which basic components is would need to use to make a simple > > example.. > > I know that it I program a cgi application in C or C++ that > I have the choise to put the code in an exe or in a dll (that Apache can > load). But php scripts or perl scripts in a dll ? > > Don't know if you can put scripts in a dll. I would be amazed. But if > it was possible then you could better look in a php or perl book how > to to that. Or ask in a php or perl newsgroup for assistence. By the > time you know how that has to be done you can come back to ask if > that what you want is possible with c++builder. > > Hans.
Re: perl to dll
Author: hans galema
Date: Tue, 16 Nov 2004 07:32
Date: Tue, 16 Nov 2004 07:32
13 lines
1404 bytes
1404 bytes
roger wrote: > Sorry my mistake i should have explained better... where i currently have > perl calling .cgi files to query my database, i want to make a search dll to > query my database and return the found data Explained better... ? Will pearl use the dll, grab its output and forward that to the webserver ? Or will the dll do without pearl at all ? Please explain better ... Hans.
Re: perl to dll
Author: roger
Date: Tue, 16 Nov 2004 08:26
Date: Tue, 16 Nov 2004 08:26
21 lines
1686 bytes
1686 bytes
I want to pass the search string and search type from the browser to the DLL and the dll to return the html output.. "hans galema" <notused@notused.nl> wrote in message news:4199ad28$1@newsgroups.borland.com... > roger wrote: > > Sorry my mistake i should have explained better... where i currently have > > perl calling .cgi files to query my database, i want to make a search dll to > > query my database and return the found data > > Explained better... ? > > Will pearl use the dll, grab its output and forward that to the > webserver ? Or will the dll do without pearl at all ? > > Please explain better ... > > Hans.
Re: perl to dll
Author: roger
Date: Tue, 16 Nov 2004 08:29
Date: Tue, 16 Nov 2004 08:29
34 lines
1948 bytes
1948 bytes
The return from the DLL will be in the form of Header Data found Footer "roger" <rogersmail@ntlworld.com> wrote in message news:4199b9de$1@newsgroups.borland.com... > I want to pass the search string and search type from the browser to the DLL > and the dll to return the html output.. > > > "hans galema" <notused@notused.nl> wrote in message > news:4199ad28$1@newsgroups.borland.com... > > roger wrote: > > > Sorry my mistake i should have explained better... where i currently > have > > > perl calling .cgi files to query my database, i want to make a search > dll to > > > query my database and return the found data > > > > Explained better... ? > > > > Will pearl use the dll, grab its output and forward that to the > > webserver ? Or will the dll do without pearl at all ? > > > > Please explain better ... > > > > Hans. > >
Re: perl to dll
Author: hans galema
Date: Tue, 16 Nov 2004 08:55
Date: Tue, 16 Nov 2004 08:55
13 lines
1631 bytes
1631 bytes
roger wrote: > I want to pass the search string and search type from the browser to the DLL That is not possible. A browser can only pass data to a webserver. The webserver can then pass that data to a dll or invoke php or perl or a cgi application and pass the data. > and the dll to return the html output.. The dll outputs html to the webserver which then can forward that to the browser. Hans.
Re: perl to dll
Author: roger
Date: Tue, 16 Nov 2004 23:23
Date: Tue, 16 Nov 2004 23:23
20 lines
1896 bytes
1896 bytes
So i would have to use perl or php to pass the search string to the dll and return the found data back to the script to output as html..? "hans galema" <notused@notused.nl> wrote in message news:4199c085@newsgroups.borland.com... > roger wrote: > > I want to pass the search string and search type from the browser to the DLL > > That is not possible. A browser can only pass data to a webserver. > The webserver can then pass that data to a dll or invoke php or perl or > a cgi application and pass the data. > > > and the dll to return the html output.. > > The dll outputs html to the webserver which then can forward that > to the browser. > > Hans.
Re: perl to dll
Author: hans galema
Date: Wed, 17 Nov 2004 07:56
Date: Wed, 17 Nov 2004 07:56
21 lines
1836 bytes
1836 bytes
roger wrote: > So i would have to use perl or php to pass the search string to the dll and > return the found data back to the script to output as html..? The answer is in my last post and is twice no. <ANSWER FIRST QUESTION> A browser can only pass data to a webserver. The webserver can then pass that data to a dll </ANSWER FIRST QUESTION> The data can be a searchstring. <ANSWER SECOND QUESTION> The dll outputs html to the webserver which then can forward that to the browser. </ANSWER SECOND QUESTION> So you do not need php or perl if you make a cgi-exe or a cgi-dll. Hans.
Re: perl to dll
Author: roger
Date: Wed, 17 Nov 2004 18:48
Date: Wed, 17 Nov 2004 18:48
27 lines
1915 bytes
1915 bytes
ok thanks "hans galema" <notused@notused.nl> wrote in message news:419b043c@newsgroups.borland.com... > roger wrote: > > So i would have to use perl or php to pass the search string to the dll and > > return the found data back to the script to output as html..? > > The answer is in my last post and is twice no. > > <ANSWER FIRST QUESTION> > A browser can only pass data to a webserver. > The webserver can then pass that data to a dll > </ANSWER FIRST QUESTION> > > The data can be a searchstring. > > <ANSWER SECOND QUESTION> > The dll outputs html to the webserver which then can forward that > to the browser. > </ANSWER SECOND QUESTION> > > So you do not need php or perl if you make a cgi-exe or a cgi-dll. > > Hans.
Re: perl to dll
Author: Keith
Date: Tue, 30 Nov 2004 01:16
Date: Tue, 30 Nov 2004 01:16
17 lines
1642 bytes
1642 bytes
roger wrote: > I want to pass the search string and search type from the browser to the DLL > and the dll to return the html output.. > Here is an exact example. How it is done, I do not know (yet). http://www.usps.com/webtools/htm/Domestic-Rates.htm ..in passing, just ignore the XML formatting of the request. You see that the request is posted to the server cgi, which is a dll (in this case it is ShippingAPI.dll for production mode and ShippingAPItest.dll for testing mode). keith
Re: perl to dll
Author: Keith
Date: Tue, 30 Nov 2004 01:18
Date: Tue, 30 Nov 2004 01:18
10 lines
1391 bytes
1391 bytes
> ...... > request is posted to the server cgi, which is a dll (in this case it is > ShippingAPI.dll for production mode and ShippingAPItest.dll for testing mode). > > keith BTW, I think the .dll name is 'just a name'.. as it does require a server to accept the post and reply with content. k
Re: perl to dll
Author: roger
Date: Sat, 11 Dec 2004 01:45
Date: Sat, 11 Dec 2004 01:45
17 lines
1535 bytes
1535 bytes
Thanks "Keith" <kdopson@sbcglobal.net> wrote in message news:41ABCA60.51CEE0E9@sbcglobal.net... > > ...... > > request is posted to the server cgi, which is a dll (in this case it is > > ShippingAPI.dll for production mode and ShippingAPItest.dll for testing mode). > > > > keith > > BTW, I think the .dll name is 'just a name'.. as it does require a server to > accept the post and reply with content. > > k >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads