How to open a database (DBF) on a web-server?

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

How to open a database (DBF) on a web-server?

#1 Post by Eugene Lutsenko »

I'd like to give the users of the system Eidos (which I develop) the ability to place on a web server, your files and download them. It's raw data files to create applications in the system. Now these files are on the local computer on which the system is installed Eidos.

Look at the time clock sample included with Xb2.NET (Regards, Boris Borzic)

The database EMPLOYEE.dbf is on a web server?

if Empty(cUID)
// no user ID specified - redisplay login screen
oClient:SendFile( oServer:RootDir + "\TC\Login.htm" )
Return
endif

OpenDBF( "EMPLOYEE", "EMP", "EMPLOYEE")

And somewhere you can see how the program works using these functions (TimeClock.prg)?

run webserve.exe open http://localhost (Regards, Boris Borzic)

Thank you. Everything works. Now, to use these technologies, it remains to understand how this is done. Another question. What would happen if these databases simultaneously turn multiple users?

trying to make it work not on shared hosting, on my actual website. But not yet obtained.
http://j90540lw.beget.tech/Index.htm

The distinction of large and small characters leads to the fact that the paths to the files are incorrect. But to fix it. In addition the path in the address bar and physically on hosting vary because so configured hosting. And what attitude to what is happening on the site, has the file: "TimeClock.prg". There is no website and it does not run on the local computer.

Post Reply