#1  
Old 22nd January 2020, 08:24 PM
robh robh is offline
Junior Member
 
Join Date: Jan 2013
Posts: 23
Default PHP driven webpage to access NexusDB on another server

Howdy.

My client runs an application I wrote which uses NexusDB, and within his database he has his customer records. He would like to provide for his customers a webpage where they can look up information: imagine an accounting package where they can see their balance, and download statements and invoices.

The webserver is Apache utilising PHP, and is not on the LAN of the NexusDB server. (The webpage is hosted, and NexusDB is on my client's PC.) I appreciate there will be latency issues as requests are made and fulfilled between the PHP & NexusDB, and that isn't too concerning - under 30 seconds would be acceptable.

What would be the best means to communicate between the webserver and NexusDB server? AJAX & JavaScript are available if needed. I envision a rather simple site where on the first page they login with their credentials (which are confirmed by NexusDB) which shows them the next page of their personal information. This will also need to be SSL / HTTPS - but once I have it implemented I'll worry about the certificate aspects. Obviously all traffic will need to be secure, but again, I just want to get it working first! (And then there's CloudFlare!!)

As the webserver is on a Linux host that [may] rule out many of the solutions I've seen here, like Intraweb. I would prefer using native PHP unless you say that's an extremely bad solution for this.

If anyone could please provide a sample of working code, it need be no more than typing a word in an HTML <input type="text"> and confirming that text exists in the NexusDB table - that would show the full traffic from webpage to database and back again. Sorry if that's too presumptuous - I just feel a Proof Of Concept explains so much more than anything else.

Also appreciate I spent hours searching through all these forums for a specific answer to this, so hopefully I haven't missed anything too obvious! Again to state, running the webhost provided by nxServer.Exe is not an option, sorry.

Cheers
Jonathan


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ANN - Next release, new webpage, and other goodies from our meeting Geoff Harris[NDS] nexusdb.public.support 31 17th September 2012 08:32 PM
ANN - Next release, new webpage, and other goodies from our meeting Geoff Harris[NDS] nexusdb.public.discussions 37 17th September 2012 08:32 PM
NexusDB access from different Embarcadero All-Access products?? Alf Christophersen nexusdb.public.discussions 78 3rd June 2010 08:54 PM
Rapid Model-Driven Architecture Rafe Aldridge nexusdb.public.discussions 24 5th March 2004 01:26 AM
WebPage with IE 5 & 5.5 Hannes Danzl [NDD] nexusdb.public.support 4 16th July 2003 08:50 AM


All times are GMT +11. The time now is 10:10 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.