FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fivewin & web
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Fivewin & web
Posted: Mon Feb 13, 2017 09:02 PM
Dear Antonio,

I would like to ask you if it is possible to develop such a functionality with five web.

Thanks in advance
Otto





response

Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Re: Fivewin & web
Posted: Wed Feb 15, 2017 03:09 PM

Hi

I'am tring the example of samples and found that the SET BACKIMAGE TO does not work !

i changed in otto.prg the line:

SET BACKIMAGE TO "http://fiveweb.googlecode.com/svn/trunk/images/beach.jpg"

in

SET BACKIMAGE TO "http://127.0.0.1/cgi-bin/beach.jpg"
and put the beach.jpg in cgi-bin folder, but nothing happend

My problem o BACKIMAGE problem ?

tks

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Fivewin & web
Posted: Wed Feb 15, 2017 04:38 PM

Hello,
is there an example how to use:
SET CGI EXECUTABLE (url1{; url2})
to hide "exe" in the URL.
Best regards,
Otto

Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Fivewin & web
Posted: Thu Feb 16, 2017 10:43 AM
Otto, index.php könnte diesen Code enthalten.
Code (fw): Select all Collapse
<?php
    if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
        $uri = 'https://';
    } else {
        $uri = 'http://';
    }
    $uri .= $_SERVER['HTTP_HOST'];
    
header('Location: '.$uri.'/cgi-bin/tutor01.exe'); exit;
?>
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Fivewin &amp; web
Posted: Thu Feb 16, 2017 11:18 AM

Hallo Günther,
danke für deine Hilfe.
Ich bin dabei alles für eine Neuentwicklung vorzubereiten.
Derzeit bin ich aber mit den RKSV-Updates eingedeckt.
lg
Otto

Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
Re: Fivewin &amp; web
Posted: Fri Feb 17, 2017 10:03 AM

hi guys
I should start a web development path.
Server: AS400.

I connect it by SQL connection and it's ok!

but now I need to start this new path to read DB2 from web.
Do you think that FIVEWEB is better way?

thank

Damiano

FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fivewin &amp; web
Posted: Fri Feb 17, 2017 10:16 AM

FiveWeb runs on Windows, Linux and Apple OSX only

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Re: Fivewin &amp; web
Posted: Tue Feb 21, 2017 02:14 PM

I am testing the fweb samples and i resolved same little problem !

Now i have a problem with mysql, i'am not familiary with it

I created a new database mysql usng ADMIN of XAMPP
The name of database is TEST with 2 tables (customers and tabiva)

i saw a new dir in c:\xampp\mysql\data\test

I tried to open the database TEST:

oServer = TDolphinSrv():New( "127.0.0.1", "test", "customers" )

but i get error, i wrong samething..

How open this database ?

tks

Posts: 231
Joined: Fri Jul 20, 2012 01:49 AM
Re: Fivewin &amp; web
Posted: Tue Feb 21, 2017 03:20 PM
It is the correctly way to connect.

Code (fw): Select all Collapse
oServ := tDolphinSrv():new('localhost','user','password',3306,0,'database_name')


Take look to the samples of dolphin.
Regards,

Lailton Fernando Mariano
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Re: Fivewin &amp; web
Posted: Tue Feb 21, 2017 05:31 PM

i have tried:
oServ := tDolphinSrv():new('localhost','','',3306,0,'romeo')
but i got error.

i have tried:
oServ := tDolphinSrv():new('localhost','','',3306,'romeo')
is ok but then

oServer:SelectDB( "tabiva" )

gives me error:
Access denied for user ''@'localhost' to database 'romeo'

I have not inserted any user/password into database ROMEO

I have only created a very simple database:
The name of database is TEST with 2 tables (customers and tabiva)

I will try again when have more time

tks any

Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Re: Fivewin &amp; web
Posted: Tue Feb 21, 2017 10:15 PM

Hi Romeo

Go to Mysql bin folder and start Mysql.exe and type the following with your settings

GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
FLUSH PRIVILEGES;

or download HeidiSql application and there is a option to do this.

Colin

Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Re: Fivewin &amp; web
Posted: Thu Feb 23, 2017 12:01 PM

OK, it works !

Where can i found all the function/metod of Dolphin ?
Tks

Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: Fivewin &amp; web
Posted: Thu Mar 16, 2017 05:45 PM

Hi.
Antonio, is the new Fiveweb ready ?
Thanks a lot
Massimo

Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
Re: Fivewin &amp; web
Posted: Fri Mar 17, 2017 07:28 AM

hi Antonio
I add myself to Massimo Question.
I would like to know the future of fiveweb.

ciao
Damiano

FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fivewin &amp; web
Posted: Fri Mar 17, 2017 07:55 AM

Massimo,

No, not yet

regards, saludos

Antonio Linares
www.fivetechsoft.com