I need to connect Paradox based client application to PHP-server. Reason is that the application needs to be able to send and receive XML based invoices. The invoice data needs to be parsed to XML format. The XML parsing would be nice to do with PHP rather than ObjectPal used in Paradox because PHP is much more cabaple text processing tool.
There is only one problem I am facing... I know I can install PHP to client side so it could do the XML parsing directly from and to Paradox database with ODBC connectivity. But is possible to send and receive the XML document with a PHP enabled server that could then further process the requests that reguire use of SOAP+XML-RPC to the business to business network that carries the invoices ?
To put it short... If I do the XML parsing with PHP at client side (windows systems), can I send them to my web-server with PHP:s own tools ? Does PHP have network connectivity without web-server ?
Connecting client application to web server with PHP
Moderator: General Moderators
-
serenity999
- Forum Newbie
- Posts: 2
- Joined: Wed Jun 01, 2005 2:32 am
- Location: Finland
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
Re: Connecting client application to web server with PHP
in regards to
also you may want to take a look at PHP-GTK for more advanced uses of PHP
PHP can be run in one of 2 forms, as an apache modules or as CGI, the former and most standard way requires a web-browsers, the other, command-lineserenity999 wrote:Does PHP have network connectivity without web-server ?
also you may want to take a look at PHP-GTK for more advanced uses of PHP
-
serenity999
- Forum Newbie
- Posts: 2
- Joined: Wed Jun 01, 2005 2:32 am
- Location: Finland
Re: Connecting client application to web server with PHP
I am familiar with normal use of PHP and what I am trying to do might seem a bit unconventional. I can run PHP from command-line in windows and I can build scripts to parse XML documents and read/write directly to Paradox databases at client side. PHP can be installed with Paradox application as a powerful text processing tool to be used with the main application. I just wondered that it may be impossible to make network connections from such a installation without a web-server ? Of course I can use http/ftp controlled by Paradox app to transfer PHP processed XML documents but it would be nices if I could do the same from client side PHP script.malcolmboston wrote:in regards to
PHP can be run in one of 2 forms, as an apache modules or as CGI, the former and most standard way requires a web-browsers, the other, command-lineserenity999 wrote:Does PHP have network connectivity without web-server ?
also you may want to take a look at PHP-GTK for more advanced uses of PHP
Take a look at cURL extension. There are PHP SOAP implementations as well: http://www.google.com/search?q=php%20soapserenity999 wrote: I just wondered that it may be impossible to make network connections from such a installation without a web-server ?