Fivewin & web

Re: Fivewin & web

Postby Otto » Mon Feb 13, 2017 9: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


Image
Image

response

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6003
Joined: Fri Oct 07, 2005 7:07 pm

Re: Fivewin & web

Postby Romeo » Wed Feb 15, 2017 3: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
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Fivewin & web

Postby Otto » Wed Feb 15, 2017 4:38 pm

Hello,
is there an example how to use:
SET CGI EXECUTABLE (url1{; url2})
to hide "exe" in the URL.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6003
Joined: Fri Oct 07, 2005 7:07 pm

Re: Fivewin & web

Postby byte-one » Thu Feb 16, 2017 10:43 am

Otto, index.php könnte diesen Code enthalten.
Code: Select all  Expand view
<?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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Fivewin & web

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6003
Joined: Fri Oct 07, 2005 7:07 pm

Re: Fivewin & web

Postby damianodec » 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 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 414
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: Fivewin & web

Postby Antonio Linares » Fri Feb 17, 2017 10:16 am

FiveWeb runs on Windows, Linux and Apple OSX only
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41313
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fivewin & web

Postby Romeo » Tue Feb 21, 2017 2: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
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Fivewin & web

Postby Lailton » Tue Feb 21, 2017 3:20 pm

It is the correctly way to connect.

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


Take look to the samples of dolphin.
Regards,
Lailton Fernando Mariano
User avatar
Lailton
 
Posts: 125
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil

Re: Fivewin & web

Postby Romeo » Tue Feb 21, 2017 5: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
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Fivewin & web

Postby Colin Haig » 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
Colin Haig
 
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: Fivewin & web

Postby Romeo » Thu Feb 23, 2017 12:01 pm

OK, it works !

Where can i found all the function/metod of Dolphin ?
Tks
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Fivewin & web

Postby Massimo Linossi » Thu Mar 16, 2017 5:45 pm

Hi.
Antonio, is the new Fiveweb ready ?
Thanks a lot
Massimo
User avatar
Massimo Linossi
 
Posts: 495
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: Fivewin & web

Postby damianodec » Fri Mar 17, 2017 7:28 am

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

ciao
Damiano
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 414
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: Fivewin & web

Postby Antonio Linares » Fri Mar 17, 2017 7:55 am

Massimo,

No, not yet
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41313
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 17 guests