FWH as web application ?
FWH as web application ?
Hello FWH-users,
Is there a possibility to use a FWH-application as a web application ? And if so, how ?
That question I got today from one of my costumers. He wants to make it possible that his clients can connect to his system to be able to check the clients data, of course well protected.
Thanks a lot in advance.
Is there a possibility to use a FWH-application as a web application ? And if so, how ?
That question I got today from one of my costumers. He wants to make it possible that his clients can connect to his system to be able to check the clients data, of course well protected.
Thanks a lot in advance.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
- FranciscoA
- Posts: 1964
- Joined: Fri Jul 18, 2008 1:24 am
- Location: Chinandega, Nicaragua, C.A.
Re: FWH as web application ?
Dear Driessen:
I Think you can do this if you use TMySql+MySql+xHarbour. Look for TMySql in this forum.
As well, you can read this blog: http://wmormar.blogspot.com (It is Spanish)
Regards.
Francisco.
I Think you can do this if you use TMySql+MySql+xHarbour. Look for TMySql in this forum.
As well, you can read this blog: http://wmormar.blogspot.com (It is Spanish)
Regards.
Francisco.
Francisco J. Alegría P.
Chinandega, Nicaragua.
Fwxh1204-MySql-TMySql
Chinandega, Nicaragua.
Fwxh1204-MySql-TMySql
- Dietmar Jahnel
- Posts: 83
- Joined: Mon Oct 17, 2005 10:33 am
- Location: Austria
- Contact:
Re: FWH as web application ?
I'm doing this for quite a while:
I use the html.lib from contrib.lib of xharbour.org
I build a normal xHB-exe with this lib and put it in \cgi-bin on the server.
If this is what you are looking for and you need more information, let me know.
Regards,
Dietmar
I use the html.lib from contrib.lib of xharbour.org
I build a normal xHB-exe with this lib and put it in \cgi-bin on the server.
If this is what you are looking for and you need more information, let me know.
Regards,
Dietmar
Re: FWH as web application ?
Mr. Dietmar,
I am interested in this subject and would like to know more about this. What is the advantage of linking xHarbour html.lib file ?
Do you mean that any Web application can access functions written in xHarbour on the web server.
Regards
Anser
I am interested in this subject and would like to know more about this. What is the advantage of linking xHarbour html.lib file ?
Do you mean that any Web application can access functions written in xHarbour on the web server.
Regards
Anser
- Dietmar Jahnel
- Posts: 83
- Joined: Mon Oct 17, 2005 10:33 am
- Location: Austria
- Contact:
Re: FWH as web application ?
Do you mean that any Web application can access functions written in xHarbour on the web server.
Yes, we provide acess to a DBF-database on the webserver to business-partners on our homepage:
See: http://www.rida.at / Partner / Login (on the right side): if you click "jetzt einloggen" a xBH-application is started (pdfverlage.exe).
We didn't work much on the design, but we are very satisfied with the speed of this solution.
Dietmar
Yes, we provide acess to a DBF-database on the webserver to business-partners on our homepage:
See: http://www.rida.at / Partner / Login (on the right side): if you click "jetzt einloggen" a xBH-application is started (pdfverlage.exe).
We didn't work much on the design, but we are very satisfied with the speed of this solution.
Dietmar
Re: FWH as web application ?
Dear Mr.Dietmar,
Thanks for the info. I visited your web site and it's really wonderful to see our FWH app running on a webserver. Just out of curiosity, can I ask you one more question. Till now I have not done anything on the web, it may be a very stupid question and I don't know much about CGI scripts
1.) What about the interface ie the username and password (SAY and GET) found on the webpage. Do you make it on FWH/xHarbour PRG using the HTML tags inside the PRG or is it a simple webpage .html file seperate from the PRG and the values entered in the GETS are somehow send as parameter to the FWH application and there it is processed and the result is send back to the web page.
Regards
Anser
Thanks for the info. I visited your web site and it's really wonderful to see our FWH app running on a webserver. Just out of curiosity, can I ask you one more question. Till now I have not done anything on the web, it may be a very stupid question and I don't know much about CGI scripts
1.) What about the interface ie the username and password (SAY and GET) found on the webpage. Do you make it on FWH/xHarbour PRG using the HTML tags inside the PRG or is it a simple webpage .html file seperate from the PRG and the values entered in the GETS are somehow send as parameter to the FWH application and there it is processed and the result is send back to the web page.
Regards
Anser
- Dietmar Jahnel
- Posts: 83
- Joined: Mon Oct 17, 2005 10:33 am
- Location: Austria
- Contact:
Re: FWH as web application ?
You cannot use gets, it is a FORM in Html, but the syntax is similar to xHB and FWH, which make it pretty easy...
This is the code of the page you have seen:
Regards,
Dietmar
This is the code of the page you have seen:
Code: Select all
PROCEDURE getUser( oCgi )
LOCAL RIHtml
LOCAL oForm, oUser, oPass,oSub
DEFINE CGI; //HTML; //CGI ;
TITLE "Verlagsanmeldung" ;
OF RIHtml
RIHtml:Setcenter( .T. )
RIHtml:SetFont("Verdana",,,,2)
RIHtml:write("<br><br>")
DEFINE FORM oForm NAME "UserForm" ;
FRAME;
COLOR "WHITE" ;
CAPTION " RIDA PDF-Verwaltung: Verlags-Login" ;
CAPFONTCOLOR "white" ;
WIDTH 35 ;
ACTION "/cgi-bin/pdfverlage.exe?VALIDATE"
LINE BREAK IN oForm
SPACE 10 IN oForm
TEXT '<font face="Verdana"' + 'size="2"' + 'color="black">Benutzername:</font>' IN oForm
LINE BREAK IN oForm
SPACE 9 IN oForm
DEFINE EDIT oUser NAME "UserName" ;
VALUE "" ;
MAXCHARS 40 ;
IN oForm
LINE BREAK IN oForm
SPACE 10 IN oForm
TEXT '<font face="Verdana"' + 'size="2"' + 'color="black">Passwort:</font>' IN oForm
LINE BREAK IN oForm
SPACE 9 IN oForm
DEFINE PASSWORD oPass NAME "UserPass" ;
VALUE "" ;
MAXCHARS 40 ;
IN oForm
LINE BREAK IN oForm
LINE BREAK IN oForm
SPACE 9 IN oForm
DEFINE SUBMIT oSub NAME "cSubmit" VALUE " Login " IN oForm
ACTIVATE oForm
END FONT OF RIHtml
RIHtml:CGIClose()
RETURN
Dietmar
Re: FWH as web application ?
Mr. Dietmar:
It's very very interesting.
Regards
It's very very interesting.
Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
Re: FWH as web application ?
Dietmar,
It looks indeed very good the way you do it.
Let me tell you what I want to do :
My application is a total solution for laywer offices. My customer wants their customer to be able to log in to check his dossiers. This means financial situation, calendar, letters, and so on.
This means that I need to show a listbox or a sort of browse in which the data can be shown.
Any idea ?
Thanks a lot for your efforts.
It looks indeed very good the way you do it.
Let me tell you what I want to do :
My application is a total solution for laywer offices. My customer wants their customer to be able to log in to check his dossiers. This means financial situation, calendar, letters, and so on.
This means that I need to show a listbox or a sort of browse in which the data can be shown.
Any idea ?
Thanks a lot for your efforts.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
- Dietmar Jahnel
- Posts: 83
- Joined: Mon Oct 17, 2005 10:33 am
- Location: Austria
- Contact:
Re: FWH as web application ?
Michel,
I think in this situation your customer could provide a VPN (Vitual Private Network)-connection to his clients,
Citrix might work as well. But I have no (active) experience with both of them.
For a real web-application like the onie in our website you have to put the database on the web-server.
Regards,
Dietmar
I think in this situation your customer could provide a VPN (Vitual Private Network)-connection to his clients,
Citrix might work as well. But I have no (active) experience with both of them.
For a real web-application like the onie in our website you have to put the database on the web-server.
Regards,
Dietmar
- Thomas Grueninger
- Posts: 18
- Joined: Fri Oct 14, 2005 5:15 pm
- Location: Germany
Re: FWH as web application ?
Hello Dietmar,
i also interested in a web solution.
I can not find the lib-files on xharbour.org
Where can i download them?
Regards,
Thomas
i also interested in a web solution.
I can not find the lib-files on xharbour.org
Where can i download them?
Regards,
Thomas
Re: FWH as web application ?
does it work with IIS (server microsoft) ?
best regards
kajot
best regards
kajot
best regards
kajot
kajot
- Dietmar Jahnel
- Posts: 83
- Joined: Mon Oct 17, 2005 10:33 am
- Location: Austria
- Contact:
Re: FWH as web application ?
It used to be part of the contrib-lib three years ago and they still tell so on their homepage.Thomas Grueninger wrote:Hello Dietmar,
i also interested in a web solution.
I can not find the lib-files on xharbour.org
Where can i download them?
I don't know why they removed it - please ask them, there seem to be more people interested in the lib.
If it is not available any more I can send it to you.
Regards,
Dietmar
- Dietmar Jahnel
- Posts: 83
- Joined: Mon Oct 17, 2005 10:33 am
- Location: Austria
- Contact:
Re: FWH as web application ?
yes!kajot wrote:does it work with IIS (server microsoft) ?
best regards
kajot