Recent Changes - Search:

Documents

Community

Related Projects

Powered by PmWiki

Using HessianPHP clients from the command line

HessianPHP clients don't rely on the web server or any external dependency beyond the 'overload' extension which is enabled by default in newer PHP versions. Therefore it is safe to use HessianPHP clients from command line scripts, capture the results and process them. This is an example batch file (Windows .bat) that executes a HessianPHP enabled script:

path = %path%C:\php\cli
php -f testCmd.php
pause

For example, scripts can be used as scheduled tasks or cron jobs to perform daily updates reading data from remote services and such. This has been tested in Windows XP and 2003 machines.

On the other hand, HessianPHP services require the use of a web server and they cannot be used from the command line.

Edit - History - Print - Recent Changes - Search
Page last modified on January 03, 2006, at 04:03 AM

PmWiki can't process your request

Cannot acquire lockfile

We are sorry for any inconvenience.